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 08-10-2007, 02:17 AM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Exclamation what version of MySQL I should use for 2007/08/10 PEQ DB

What version of MySQL I should use to get my latest download of PEQ DB (from wincvs) to work ?

When I follow the guide.pdf and run "source load_system.sql" it runs fine at beggning and after 20-30 lines buch error happens. I am currently using mysql-essential-5.0.37-win32.msi (as the guide recommand).

Last edited by samplempg; 08-10-2007 at 10:19 AM..
Reply With Quote
  #2  
Old 08-10-2007, 02:37 AM
Zandig's Avatar
Zandig
Hill Giant
 
Join Date: Jun 2006
Location: New York City
Posts: 180
Default

The MySQL version in the guide works fine. I use 5.0.27 but no difference.

Try this command to source the database:

Code:
\. load_system.sql
Reply With Quote
  #3  
Old 08-10-2007, 02:56 AM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Default

Quote:
Originally Posted by Zandig View Post
The MySQL version in the guide works fine. I use 5.0.27 but no difference.

Try this command to source the database:

Code:
\. load_system.sql
result exactly same error , maybe I should try non-essential version or just version 5.0.27 (maybe the author make a typo mistake between 2 and 3)
Reply With Quote
  #4  
Old 08-10-2007, 04:01 AM
Zandig's Avatar
Zandig
Hill Giant
 
Join Date: Jun 2006
Location: New York City
Posts: 180
Default

What exactly are the errors?
Reply With Quote
  #5  
Old 08-10-2007, 04:10 AM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

double check that your sourceing in your peq file from the peq directory, the one that contains all the sql files. For some people its c:\peqdb\peq_db\

You do this before you run mysql -u root -p.

When you open command prompt, you type in

Code:
 cd\peqdb\peq_db
and then your line should look like this

Code:
 c:\peqdb\peq_db>
and at this point start the mysql stuff.
Reply With Quote
  #6  
Old 08-10-2007, 05:31 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Also make sure you are sourcing to a new DB and not an existing one, unless you first run the drop_system.sql.
Reply With Quote
  #7  
Old 08-10-2007, 05:50 AM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Default

It is brand new DB, and i also do "drop database peq;" (and "create database peq" again and "/u peq") everytime when I retry.

this is the error message when I try to import load_system.sql

http://www.geocities.com/samplempg/error.JPG
Reply With Quote
  #8  
Old 08-10-2007, 05:56 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

See that "near (,(11"? that's the problem. Not sure what source you are using, but peq_db from the CVS is not missing column data or malformed SQL statements.

This is like trying to insert (id,field,data) as (,blah,bleh) <-- the first field's data is missing.
Reply With Quote
  #9  
Old 08-10-2007, 06:29 AM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Default

Quote:
Originally Posted by John Adams View Post
See that "near (,(11"? that's the problem. Not sure what source you are using, but peq_db from the CVS is not missing column data or malformed SQL statements.

This is like trying to insert (id,field,data) as (,blah,bleh) <-- the first field's data is missing.

I am using chinese traditional version of xp sp2. Is that cause the problem ? because sometimes 2 ansi code can be combine to 1 chinese world.
Reply With Quote
  #10  
Old 08-10-2007, 07:36 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Oh yeah, way out of my league pal. sorry...
Reply With Quote
  #11  
Old 08-10-2007, 02:32 PM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Default

weird, the database download from PEQ website (luclin 0.7.0 final release) dosen't give any error on "source load_system.sql", what version of EQEMU I should run to match luclin 0.7.0 final database ?
Reply With Quote
  #12  
Old 08-10-2007, 04:27 PM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Default

I got more usefull error message by import latest DB by useing navicat, here is the screenshot

http://www.geocities.com/samplempg/error2.JPG
Reply With Quote
  #13  
Old 08-10-2007, 06:24 PM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Default

all right..I think the error are cause by typo mistakes on .sql file. here is little screenshot make it obiously (there are at least 3 typo on different .sql when I try import the DB)

note: these typo error only happen on latest wincvs downloaded peq_db, can someone help me report this bug to Project EQ forums ? My forum account having trouble to get activate, maybe the forum admin are too busy

http://www.geocities.com/samplempg/error3.JPG

Last edited by samplempg; 08-11-2007 at 02:37 AM..
Reply With Quote
  #14  
Old 08-11-2007, 01:59 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Newest CVS loads without an error for me on a Windows box and several Linux boxes. Typos in the dumps are nearly impossible because they aren't edited by hand. Yeah, and as John Adams said that malformed line doesn't exist in CVS, I just looked so I'm not sure where you are getting the db from.

But, I'm going to be updating CVS today so maybe that will fix it for you.

Last edited by cavedude; 08-11-2007 at 10:05 AM..
Reply With Quote
  #15  
Old 08-11-2007, 04:37 AM
samplempg
Fire Beetle
 
Join Date: Aug 2007
Posts: 11
Default

I did download twice on yesterday, both try gives error Btw, tonight's download works perfect! No more errors!
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 02:44 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