Easy way..
mysqldump eq account_ > account.sql
mysqldump eq character_ > character.sql
mysqldump eq items > items.sql
Then, launch mysql
create database eqnew;
from dos again:
mysql -f eqnew < [new database file]
mysql -f eqnew < account.sql
mysql -f eqnew < character.sql
mysql -f eqnew < items.sql
this should create a new database called eqnew with all the attributes of your old one (characters, accounts and items) with the new database in it..
Your old one will still be there, just change your ini file to use the new database name so you can test it out and switch back to the old one if you have problems.
|