EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   I've got the #2 error while doing the guide (https://www.eqemulator.org/forums/showthread.php?t=26274)

Calypso73 09-26-2008 04:46 AM

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

joligario 09-26-2008 05:55 AM

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.).

Xenezie 09-26-2008 10:33 AM

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.

Calypso73 09-26-2008 01:55 PM

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

Xenezie 09-26-2008 02:16 PM

Code:

create database peq;

\u peq

source load_player.sql

Make sure you are pressing enter after each part.

joligario 09-26-2008 06:49 PM

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!


All times are GMT -4. The time now is 04:49 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.