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 06-04-2002, 06:58 AM
Jermanfu
Fire Beetle
 
Join Date: May 2002
Posts: 8
Default Question on changing databases

Is there a way to change databases but keep your character and account info from an older database?
Reply With Quote
  #2  
Old 06-04-2002, 08:22 AM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

in db.ini change

database=eq

to whatever DB u want.
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #3  
Old 06-04-2002, 08:45 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

mysqldump eq account > account.sql
mysqldump eq characters_ > char.sql

then, create your new database, say eq2.

Then,

mysql eq2 < account.sql
mysql eq2 < char.sql

that should put your old accounts and charcaters into your new database...

then follow shawns directions above
Reply With Quote
  #4  
Old 06-04-2002, 09:29 AM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

Oh yeah he's right. i didnt listen to the question very well =P
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #5  
Old 06-04-2002, 10:16 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Quote:
Originally posted by Trumpcard
mysql -f eq2 < account.sql
mysql -f eq2 < char.sql
Otherwise it will stop because the tables are already there.


Also you can dump it in 1 command,
mysqldump eq account character_ > accounts.sql
then
mysql -f eq2 < accounts.sql

Same thing as what trumpcard posted, just a little shorter :p
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #6  
Old 06-05-2002, 08:38 AM
Jermanfu
Fire Beetle
 
Join Date: May 2002
Posts: 8
Default

great! Thanks for all the responses guys
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:11 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