EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=625)
-   -   How do I dump account and character data? (https://www.eqemulator.org/forums/showthread.php?t=6213)

Arley McFarley 03-26-2003 08:33 AM

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.

Trumpcard 03-26-2003 08:46 AM

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...

Arley McFarley 03-26-2003 08:53 AM

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

Trumpcard 03-26-2003 09:37 AM

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

Arley McFarley 03-26-2003 10:03 AM

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

I appreciate the help.

Arley

tcsmyworld 03-28-2003 05:11 PM

one other that should be saved......
 
Now that factions work , if you want ALL char info , dump faction_values also.

Arley McFarley 03-31-2003 03:05 AM

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

06-08-2003 06:28 PM

What is the Mysql console command to get rid of a DB?

Memener 06-08-2003 06:40 PM

LOL it is
drop database eq;
or where ever you database name is


All times are GMT -4. The time now is 02:10 AM.

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