Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2003, 08:33 AM
Arley McFarley
Sarnak
 
Join Date: Feb 2003
Posts: 46
Default How do I dump account and character data?

Is it possible to dump the account and character information from an eq database I use for v4.2 emulator?

I'd like to start using the v4.3 and Drawde's new worlddata, but I'd like to import the account and character data from my 4.2 setup.

Can I do a dump of just those areas of my current db to import into a new eq database?

Thanks.
Reply With Quote
  #2  
Old 03-26-2003, 08:46 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

mysqldump <databasename> <tablename> > table.sql


So, say you want to dump account and character_ in a database called eq.


mysqldump eq character_ > character.sql
mysqldump eq account > account.sql


That will create the source files for those 2 tables. Then to put them back in

mysql eq < filename

will reload them...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 03-26-2003, 08:53 AM
Arley McFarley
Sarnak
 
Join Date: Feb 2003
Posts: 46
Default

Thanks, Trumpcard.

I'll use those commands.

Do any other "tables" come to mind that I should dump to retain account information?

Any other "tables" to retain character names, level, stats, equipment?

I appreciate the response.

Arley
Reply With Quote
  #4  
Old 03-26-2003, 09:37 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

nope, those should be it.. those are the only 2 i update when i upgrade my database.. if you've done custom items, or other custom things, those are things you might want to save
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 03-26-2003, 10:03 AM
Arley McFarley
Sarnak
 
Join Date: Feb 2003
Posts: 46
Default

Thanks.
No other item updates, etc., in my db.

I appreciate the help.

Arley
Reply With Quote
  #6  
Old 03-28-2003, 05:11 PM
tcsmyworld's Avatar
tcsmyworld
Discordant
 
Join Date: Feb 2002
Posts: 452
Default one other that should be saved......

Now that factions work , if you want ALL char info , dump faction_values also.
Reply With Quote
  #7  
Old 03-31-2003, 03:05 AM
Arley McFarley
Sarnak
 
Join Date: Feb 2003
Posts: 46
Default

Thanks, Trumpcard.

I successfully dumped the account and character info from my current db and sourced it into an updated db.

I didn't mess with the factions data, though. I'll do that next time.

Arley
Reply With Quote
  #8  
Old 06-08-2003, 06:28 PM
Guest
 
Posts: n/a
Default

What is the Mysql console command to get rid of a DB?
Reply With Quote
  #9  
Old 06-08-2003, 06:40 PM
Memener's Avatar
Memener
Dragon
 
Join Date: Jan 2003
Location: College park, GA (atlanta)
Posts: 640
Default

LOL it is
drop database eq;
or where ever you database name is
__________________
AMD AM2 X2 3.01Ghz(OC'ed at 3.8Ghz) 4096MB DDR2 800 Geforce 8800 ultra SLI 1.2TB HD <-- All water cooled

Thanks to Imageshack.us for free image hosting!
Reply With Quote
Reply

Thread Tools
Display Modes

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