Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2007, 01:40 AM
koldar
Sarnak
 
Join Date: Dec 2004
Posts: 45
Default Question about the Database CVS

Hello,
I am wondering a little bit about the database cvs. I just started looking around the peq_db and I am a little confused. Do I need to retrieve all of the sql scripts and execute them to run 7.0.992? I currently am running the peq database that is available from their site. Can someone help fill in the details for me? I have installed TortioseSVN, but haven't used a CVS before. If I do need to execute all of the scripts, does anyone know a fast way to execute all of them? Thank you for your help with my newbie questions.

Koldar
Reply With Quote
  #2  
Old 04-11-2007, 03:15 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

run load_system and load_player.sql found on the CVS, exactly like in the older released package.
Reply With Quote
  #3  
Old 04-11-2007, 03:31 PM
rojadruid
Discordant
 
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
Default

Quote:
Originally Posted by cavedude
run load_system and load_player.sql found on the CVS, exactly like in the older released package.
They don't import into mysql 4.0.23 sadly. one of these days I should get a ver 5 server running.
__________________
Rojadruid

Innoruuk Server [legit]
Server Admin.
Server Status: UP
Reply With Quote
  #4  
Old 04-11-2007, 04:02 PM
koldar
Sarnak
 
Join Date: Dec 2004
Posts: 45
Default

I am having problems running the load_player.sql. At first, I had to remove the semi-colon from every line. Now it processes the first few lines then at it keeps giving me an error when it goes to load guild_members.sql and every .sql thereafter. Something about a syntax error. I am using the latest build of 5 for mysql.
Reply With Quote
  #5  
Old 04-11-2007, 04:28 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Both sourced just fine here using MySQL 5.0.27.

If you already have a database of the same name installed you have to run drop_player to remove accounts, toons, inventory, etc and drop_system to remove the heart of the database before sourcing in PEQ. Either that or create a new database. Whenever you upgrade PEQ you just need to run drop_system and then load_system.
Reply With Quote
  #6  
Old 04-11-2007, 04:29 PM
koldar
Sarnak
 
Join Date: Dec 2004
Posts: 45
Default

I just down graded to 5.0.27 after reading the comments in the sql files. I am still getting many errors starting with guild_members.sql.
Reply With Quote
  #7  
Old 04-11-2007, 05:02 PM
koldar
Sarnak
 
Join Date: Dec 2004
Posts: 45
Default

I complete recreated the peq_cvs database on my side and I was still receiving the error. In the load_player and load_system sql files I changed all of the "source" entries to "\." instead and it worked great. Thanks for the help! Hopefully I'll have my server running soon.
Reply With Quote
  #8  
Old 04-12-2007, 06:56 AM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

Nothing seems to work for me. I am using 5.0.27 and I load up mysql command line, create the database then i type
Code:
\. C:\peqdb\load_system.sql
and I get errors on each line saying that it couldnt not open file *******.sql. I have tried to remove the source and replace with the \. , removing the ; at the end. Nothing seems to work other than sourcing in each file manually. It works like that but its a pain.

Any ideas.

Last edited by techguy84; 04-12-2007 at 02:58 PM..
Reply With Quote
  #9  
Old 04-12-2007, 07:22 AM
koldar
Sarnak
 
Join Date: Dec 2004
Posts: 45
Default

Be sure that you prepend the .sql files in the load_system.sql with the path to the file. I had to do that as well. For example: \. c:\sql\xxxxxx.sql

After I did that it worked for me.
Reply With Quote
  #10  
Old 04-12-2007, 07:24 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

CD to the dir where the files are stored, then run mysql. At the mysql prompt, run source load_player.sql and source load_system.sql. There is no need to edit either file as long as it's done correctly.
Reply With Quote
  #11  
Old 04-12-2007, 03:36 PM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

Now I feel like a idiot.
Quote:
CD to the dir where the files are stored
You can tell I come from a long line of Windows XP users. Dumb noob dont even know how to use cmd properly.

Thanks cavedude, that fixed everthing. Now if I can just find out what is causing zone to crash using the CVS and Emu v992.
Reply With Quote
  #12  
Old 04-30-2007, 12:47 PM
the11plegue
Fire Beetle
 
Join Date: Apr 2007
Posts: 2
Default

i had teh same problem check ur files i had a peqdb inside the peqdb also when i had the folder made it was orgianlly Ppeqdb make sure its peqdb and that it goes directly to the files and not another folder called peqdb. once i figured out i was being dumb and removed the second file it sourced perfectly
Reply With Quote
Reply


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 08:55 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3