Forum Moderators: phranque
I tried using phpmyadmin to create an export version of the database. I want to download a compressed gzip version to a lan computer then use move to the phpmyadmin service for the database that is to receive the new data/structure. I can then browse to the sql file and import all data.
My database is about 3gig and the download always stalls at aroung 30 meg.
I think using shell may be the best option using mysqldump.
Any ideas?
Mack.
server_old# mysqldump name_of_DB > newfile.sql
newfile.sql should then be a text file, check it out.
Then in the new server, assuming you created the db
server_new# mysql database_name < newfile.sql
If you have a web based gui like phpMyAdmin, it should be easier :)
The uglier way to do it is to take the directory tar zip it, then move it to new server, have the zip file unpacked and replace the directory of the copy you started on the new server :)
Hope this helps!
A nice tutorial on this can be found at [phpbuilder.com...]