Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Windows Servers

Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2004, 04:49 AM
jimbox114
Hill Giant
 
Join Date: Jun 2004
Posts: 231
Default transfering server from one PC to another

I have been attempting to move my server from this PC to my newly built server pc. Problem I am having is moving the database. I didn't think it would work, but my first try was to just install mysql normally, then overwrite it with the one on my PC. Needless to say that didn't work.

So the next thing I tried was to install mysql normally on it, then create the database (eq2) then copy my files into that directory from the database, apparently that didn't work either.

So what would be the easiest way to do this? I imagine I need to make a .sql file of my database and transfer it over? Problem is I can't figure out how to do that. I have searched through the search on this site, looked over the help files with mysql, and did not see anything about this.

So basically can anybody tell me how to take my database and zip it up into a .sql file? I imagine there is some command you do this from in mysql, but heck if I know what it is.
Reply With Quote
  #2  
Old 08-30-2004, 04:52 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

mysqldump -u user -p database > database.sql

backs up an entire database.

then on new machine

CREATE database newdb;

use newdb;

source database.sql
Reply With Quote
  #3  
Old 08-30-2004, 04:59 AM
jimbox114
Hill Giant
 
Join Date: Jun 2004
Posts: 231
Default

Thanks, that did it.
Reply With Quote
  #4  
Old 08-31-2004, 09:30 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Dont forget to GRANT ALL PRIVILEGES on the new server DB.... Could have some problems if not...
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
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 12:33 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3