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 10-01-2009, 11:15 PM
mastajon
Sarnak
 
Join Date: May 2008
Posts: 70
Default Failed to open file ' peqdb_Rev974.sql;'

Im trying to setup a test server here and I am stuck at the sourcing the database part. I have downloaded the peqdb and unpacked them into the bin file of mysql. I am unsure why I keep getting the error,

failed to open file peqdb_Rev974.sql; when i source it into mysql command line. I looked at the guides and havent been able to find out why it wont work.
Reply With Quote
  #2  
Old 10-01-2009, 11:26 PM
serivoth1234
Sarnak
 
Join Date: Aug 2009
Location: bum f*#k egypt
Posts: 37
Default

Just a simple question after you extracted the files you then extracted the peqdb_Rev974 file before sourcing correct? It's compressed as well.
Reply With Quote
  #3  
Old 10-01-2009, 11:48 PM
mastajon
Sarnak
 
Join Date: May 2008
Posts: 70
Default

correct, i have the peqdb_rev974.sql file in the bin folder along with all the other sql files. I also have a copy of all the db files in a folder called peqdb in the file path C:\peqdb.

Im very new to all this.
Reply With Quote
  #4  
Old 10-01-2009, 11:51 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

If you're sourcing it from cmd in windows, you need to either a) use the full path (ie source c:\peqdb\peqdb_rev974.sql) or put the sql file in the same folder as your mysql.exe file.
Reply With Quote
  #5  
Old 10-02-2009, 12:17 AM
mastajon
Sarnak
 
Join Date: May 2008
Posts: 70
Default

thanks so much
Reply With Quote
  #6  
Old 10-02-2009, 04:06 AM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
Default

yeah, when you install mysql make sure you enable the PATH option (should be checked by default) and start up command line, cd\<dirofsql files>, then mysql -u root -p
<enter>
it'll ask for password
create database <dbname>; #Do this once first time you start sourcing.
use <dbname>;
source <filename.sql>; #Do this following the readme instructions
exit;

cd\ to new directory if any for new source files, do the above again. There's a bazillion ways to do this, I usually do the above. Heh.
__________________

~Shin Noir
DungeonEQ.com
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 06:22 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