PDA

View Full Version : MySql database transfer to new server


Jericho2004
26 Aug 2006, 21:46
I am going from a shared hosting server to a dedicated server and need to get my database over. On the shared server I only have phpmyadmin access and can do an export of the db that way. On the dedicated server I have phpmyadmin and ssh access. Phpmyadmin times out when trying to import the database and I can't get it to work in ssh even after following the command instructions. Uncompressed, my db is about 50mb. Is there any other way to accomplish this? Would Impex do this?



Thanks.

bashy
26 Aug 2006, 23:56
The best way i found (before SSH) was to import bits of the db at a time, took maybe 30 mins or so but it did work....

SKNY
27 Aug 2006, 02:11
BigDump: http://www.ozerov.de/bigdump.php

Or if you need help send me a PM and I'll do it for you.

Ntfu2
29 Aug 2006, 20:18
Upload your dump to your server into the /home directory then use the following command to restore it

mysql -u USERNAME -p mysql_database_name < /home/database_dumpname.sql

the next thing that will popup is the password prompt.

Jericho2004
29 Aug 2006, 22:57
Thanks guys, your suggestions worked. I'm all set now.