EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   mysql 'Failed to open file 'db.sql', error: 2' please help! (https://www.eqemulator.org/forums/showthread.php?t=10812)

nadineemu 12-15-2003 06:26 AM

mysql 'Failed to open file 'db.sql', error: 2' please help!
 
in the post HOWTO: Setup a server with EQEmu 5.X

its says to type in 'source db.sql;'

when i do this i get ...

'Failed to open file 'db.sql', error: 2'

i have moved the db.sql file from my eqserver dir to C:\mysql\bin as the guide also says.

Any ideas anyone, im sure its something simple enough. just a bit thick i guess :(

Conan 12-15-2003 06:31 AM

When you are sourceing a file into mysql you must be in the directory that the file resides in.

cd\mysql\bin

mysql -u root mysql

use databasenamehere;

source db.sql

nadineemu 12-15-2003 06:39 AM

ok that fixed it, thanks )


All times are GMT -4. The time now is 09:27 PM.

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