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 09-25-2008, 11:59 PM
Calypso73
Fire Beetle
 
Join Date: Mar 2006
Posts: 11
Default

Yes it looks exactly like that, but when I paste it to the command prompt window, it just gives all files the failed to load error:2
Reply With Quote
  #2  
Old 09-26-2008, 02:14 AM
Xenezie
Fire Beetle
 
Join Date: Oct 2005
Location: Spanaway, Washington
Posts: 19
Default

It looks to me that you've forgot to end your command with a ;

Try

Code:
source load_player.sql;
or

Code:
\. c:/YOURDIRECTORY/load_player.sql;
Reply With Quote
  #3  
Old 09-26-2008, 03:02 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

But if he didn't end with a semi-colon, it wouldn't give him error 2 file not found. It would give him the ->.

Are you starting mysql from the directory where these .sql files are located?

start -> run -> cmd
Code:
C:\Documents and Settings\Your Name>cd \peq
C:\peq>cd peq_db
C:\peq\peq_db>dir
 Volume in drive C has no label.
 Volume Serial Number is ****-****

 Directory of C:\peq\peq_db

09/21/2008  08:22 AM    <DIR>          .
09/21/2008  08:22 AM    <DIR>          ..
02/12/2008  10:17 AM             1,861 aa_timers.sql
02/12/2008  10:17 AM             2,272 account.sql
04/21/2008  03:07 PM               387 Banned_IPs.sql
02/12/2008  10:17 AM             1,755 botinventory.sql
02/12/2008  10:17 AM             1,722 botleader.sql
02/12/2008  10:17 AM             1,763 botsowners.sql
03/29/2008  03:17 PM                98 bot_npcs.bat
03/16/2008  04:40 PM                98 bot_npcs.sh
02/12/2008  10:17 AM             2,363 character_.sql
02/12/2008  10:17 AM             2,372 character_backup.sql
04/21/2008  03:07 PM            23,992 commands.sql
09/14/2008  10:34 AM    <DIR>          CVS
09/06/2008  02:26 PM             1,250 drop_player.sql
09/06/2008  02:26 PM             1,780 drop_system.sql
02/12/2008  10:17 AM             2,078 eventlog.sql
02/12/2008  10:17 AM             1,835 faction_values.sql
.....
.....
etc, etc, etc.

C:\peq\peq_db>mysql -u root -p
Enter password: ****

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.51a Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>source load_player.sql;
Reply With Quote
  #4  
Old 09-26-2008, 04:46 AM
Calypso73
Fire Beetle
 
Join Date: Mar 2006
Posts: 11
Default

I'm a little confused by the commands given on your screen. How do I start mysql from the directory where my .sql files are located? I mean, what command am I putting in. I type the command: cd\peqdb which then puts me to C:peqdb> After that I type in: mysql -u root -p and then last I put in:

create database peq;
\u peq
source load_player.sql

In which I get the Failed to open file 'load_player.sql', error: 2
Reply With Quote
  #5  
Old 09-26-2008, 05:55 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Before you type in the "mysql - u root -p", type in "dir" and look if all those files are listed (aa_timers.sql, account.sql, load_player.sql, etc.).
Reply With Quote
  #6  
Old 09-26-2008, 10:33 AM
Xenezie
Fire Beetle
 
Join Date: Oct 2005
Location: Spanaway, Washington
Posts: 19
Default

Right, I looked over that, and is partly why I posted that other little bit.


He needs to find the directory the file is in then do a:

Code:
\. c:/YOURDIRECTORY/load_player.sql;
example: c:/programs/peqdb/load_player.sql then just add in the rest.

This will have the same effect as navigating your command line there.
Reply With Quote
  #7  
Old 09-26-2008, 01:55 PM
Calypso73
Fire Beetle
 
Join Date: Mar 2006
Posts: 11
Default

This is what I get:


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Willard>cd\peqdb

C:\peqdb>dir
Volume in drive C has no label.
Volume Serial Number is 9026-53CA

Directory of C:\peqdb

09/26/2008 01:24 AM <DIR> .
09/26/2008 01:24 AM <DIR> ..
09/26/2008 01:24 AM 0 cd
09/25/2008 06:57 PM <DIR> peq_db
1 File(s) 0 bytes
3 Dir(s) 187,759,304,704 bytes free

C:\peqdb>


What command should I be typing in next
Reply With Quote
  #8  
Old 09-26-2008, 02:16 PM
Xenezie
Fire Beetle
 
Join Date: Oct 2005
Location: Spanaway, Washington
Posts: 19
Default

Code:
create database peq;

\u peq

source load_player.sql
Make sure you are pressing enter after each part.
Reply With Quote
  #9  
Old 09-26-2008, 06:49 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

There's your problem! You have the peq_db within your peqdb folder.

Quote:
I type the command: cd\peqdb....
Here you should be typing in "cd\peqdb\peq_db". Then try it. Have fun, you are on your way to having a server!
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 11:08 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