Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2013, 12:08 PM
rlie_0
Sarnak
 
Join Date: May 2011
Location: usa
Posts: 94
Default

The step im having trouble with is making the database...I go into the cmd window and it says I have made the databases...no clue where they are at tho. when I head into Navicat, and open Localhost_3306 then go down to peq, the Tables, Views, Functions, Events, Query tabs within it are clear of anything inside them. This correct or there something im missing?

When i go into the cmd window i do this;

cd/peqdb
mysql u-root -p
Enter password: XXXXXXXXXXXX
Create database peq; (I get an error states its already there)
Use peq

source peq_rev2294.sql (wait awhile)

Then finally enter

source load_player.sql

then close the window and look in Navicat. Once I get into there I look under local connection, open it, look at the peq database, nothing inside it...
Reply With Quote
  #2  
Old 02-10-2013, 02:34 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

I don't use Navicat, but from a command prompt you can verify if your database is there by doing this:
Quote:
C:\Users\Steve>mysql -u root -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.61-community MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| peq |
| test |
+--------------------+
4 rows in set (0.00 sec)

mysql> use peq;
Database changed
mysql> show tables;
+---------------------------------+
| Tables_in_peq |
+---------------------------------+
| aa_actions |
| aa_effects |
| aa_required_level_cost |
| activities |
| adventure_template |
| adventure_template_entry |
| adventure_template_entry_flavor |
| altadv_vars |
| alternate_currency |
| blocked_spells |
| books |
| char_create_combinations |
| char_create_point_allocations |
| class_skill |
| damageshieldtypes |
| doors |
| faction_list |
| fear_hints |
| fishing |
| forage |
| goallists |
| graveyard |
| grid |
| grid_entries |
| ground_spawns |
| horses |
| items |
| ldon_trap_entries |
| ldon_trap_templates |
| lootdrop |
| lootdrop_entries |
| loottable |
| loottable_entries |
| merchantlist |
| npc_faction |
| npc_faction_entries |
| npc_spells |
| npc_spells_entries |
| npc_types |
| npc_types_metadata |
| npc_types_tint |
| object |
| pets |
| proximities |
| races |
| saylink |
| skill_caps |
| spawn2 |
| spawn_condition_values |
| spawn_conditions |
| spawn_events |
| spawnentry |
| spawngroup |
| spell_globals |
| spells_new |
| start_zones |
| starting_items |
| tasks |
| tasksets |
| titles |
| tradeskill_recipe |
| tradeskill_recipe_entries |
| traps |
| tribute_levels |
| tributes |
| veteran_reward_templates |
| zone |
| zone_points |
| zone_server |
| zone_state_dump |
| zoneserver_auth |
+---------------------------------+
71 rows in set (0.01 sec)

mysql> select short_name, zoneidnumber from zone limit 10;
+------------+--------------+
| short_name | zoneidnumber |
+------------+--------------+
| abysmal | 279 |
| acrylia | 154 |
| airplane | 71 |
| akanon | 55 |
| akheva | 179 |
| anguish | 317 |
| apprentice | 999 |
| arcstone | 369 |
| arena | 77 |
| arena2 | 180 |
+------------+--------------+
10 rows in set (0.00 sec)

mysql>
That is just verifying the peq database exists, it has tables inside it, and the last SELECT command just displays some data from the zone table.

You can verify if there is data in the other tables by running similar commands on them, e.g.
Code:
select * from npc_types LIMIT 10;
select * from spawn2 LIMIT 10;
If you really want to redo your database, go into mysql via a command prompt and do:
Code:
drop database peq;
create database peq;
use peq;
and then source peq_rev2294.sql, load_player.sql, load_bots.sql (if you want bots), then all the .sql files in utils/sql/svn between 2295 and 2497:
Code:
source 2299_required_inspectmessage_fields.sql
source 2300_optional_loot_changes.sql
source 2340_required_maxbuffslotspet.sql
source 2361_required_qs_rule_values.sql
source 2370_required_aa_updates.sql
source 2376_required_aa_updates.sql
source 2380_optional_merc_data.sql
source 2380_optional_merc_merchant_npctypes_update.sql
source 2380_optional_merc_rules.sql
source 2383_required_group_ismerc.sql
source 2428_optional_levelbasedexpmods.sql
source 2448_optional_stun_proc_aggro_rule.sql
source 2471_required_aa_updates.sql
source 2482_required_start_zones.sql
There is no need to actually re-install the MySQL application to wipe your database and start again.

Last edited by Derision; 02-10-2013 at 02:43 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:02 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3