View Full Version : How do I dump account and character data?
Arley McFarley
03-26-2003, 08:33 AM
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
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
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
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.