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 11-17-2010, 10:11 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Angry load_player.sql.. I just can't figure it out...

I have been trying for over an hour and ahalf trying to figure out the issue here. I got the DB to source without an issue but when it comes to load_player.sql it wont happen. Here is a clipit of what is happening...

--------------

ERROR:
Unknown command '\l'.
-> source c:\peqdb\peqdatabase\load_player.sql;
--------------
C:eqdbeqdatabase\load_player.sql
source c:
--------------

--------------
C:eqdbeqdatabase\load_player.sql
source c:eqdb
--------------

ERROR:
Unknown command '\l'.
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'C:eqd
beqdatabase\load_player.sql
source c:eqdbeqdatabase\load_player.sql' at line 1
mysql>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please if you could post a detailed description on the fix. Thank you.

Dayhawk~
Reply With Quote
  #2  
Old 11-17-2010, 10:53 PM
Brewhaus
Sarnak
 
Join Date: Aug 2010
Posts: 38
Default

I don't remember the exact syntax, but try putting the path in quotes, try using forward slashes, try using relative paths, etc..
Reply With Quote
  #3  
Old 11-17-2010, 10:59 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

When trying to do it with forward slashes it started working but all files FAILED with "error 2". Been trying for 2 hours now everything.
Reply With Quote
  #4  
Old 11-17-2010, 11:04 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Dayhawk View Post
I have been trying for over an hour and ahalf trying to figure out the issue here. I got the DB to source without an issue but when it comes to load_player.sql it wont happen. Here is a clipit of what is happening...

--------------

ERROR:
Unknown command '\l'.
-> source c:\peqdb\peqdatabase\load_player.sql;
--------------
C:eqdbeqdatabase\load_player.sql
source c:
--------------

--------------
C:eqdbeqdatabase\load_player.sql
source c:eqdb
--------------

ERROR:
Unknown command '\l'.
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'C:eqd
beqdatabase\load_player.sql
source c:eqdbeqdatabase\load_player.sql' at line 1
mysql>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please if you could post a detailed description on the fix. Thank you.

Dayhawk~
You have to put the load player folder in the same directory in which you execute the .sql

Make sure you have a database created and have the database selected.

run the command as source directorypath\load_player.sql; <---- semi-colon
Reply With Quote
  #5  
Old 11-17-2010, 11:08 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

I put the player tables folder in the same directory as the DB in MYSQL folder. I tried what you told me to od and it still has not worked.
Reply With Quote
  #6  
Old 11-17-2010, 11:11 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Dayhawk View Post
I put the player tables folder in the same directory as the DB in MYSQL folder. I tried what you told me to od and it still has not worked.
Make sure it is in the bin folder, then you won't have to specify any directory just:

Code:
source load_player.sql;
Reply With Quote
  #7  
Old 11-17-2010, 11:16 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

Put the player_tables folder and the load_players.sql in the bin folder?
Reply With Quote
  #8  
Old 11-17-2010, 11:18 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

Tried what you said, put it in ben folder still not working, getting Error 2
Reply With Quote
  #9  
Old 11-17-2010, 11:21 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Dayhawk View Post
Tried what you said, put it in ben folder still not working, getting Error 2
Have you created and selected a database prior to this operation? What is your error message now.
Reply With Quote
  #10  
Old 11-17-2010, 11:34 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

Akk,

After moving the Player_Tables folder to "bin" in the Mysql folder along with load_player.sql then rebooting CMD, I slected the database that i created "peq" and typed:

source load_player.sql

Still recieving error 2.
Reply With Quote
  #11  
Old 11-17-2010, 11:40 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

Failed to open file 'load_player.sql', error: 2
Reply With Quote
  #12  
Old 11-17-2010, 11:47 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Dayhawk View Post
Akk,

After moving the Player_Tables folder to "bin" in the Mysql folder along with load_player.sql then rebooting CMD, I slected the database that i created "peq" and typed:

source load_player.sql

Still recieving error 2.
Need a semi colon after your command, for some reason it's picky about it.

source load_player.sql;
Reply With Quote
  #13  
Old 11-17-2010, 11:49 PM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

Used a semi colon, failed.
Reply With Quote
  #14  
Old 11-18-2010, 12:53 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

You need to remember that it is loading other sql files. Some systems won't follow the path once it starts loading or it will follow the path relative to where your loading the SQL from. The way I like to do it is to leave the files and folders in tact the way you get them from the svn (well I extract the database zip file of course) and then I start mysql from within the directory where the load_player and database revision files are located. If it were a single sql file, it would work using source "folder\file.sql"; method, but when the .sql file contains a chain, a lot of systems don't like to follow the path relative to your sql.
Reply With Quote
  #15  
Old 11-18-2010, 02:14 AM
Dayhawk
Sarnak
 
Join Date: Nov 2010
Posts: 33
Default

Got everything working now when I launch my server it is showing error

eqlaunch.exe - unable to locate DLL

The dynamic link library MSVCP90.dll could not be found in the specified path
D:\eqemu;.;C:\winnt\system32;C:\winnt\system;C... so on and so forth...
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 03:25 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3