Knowledgebase

Moving MYSQL databases to Tech Logic Print

  • 12

Log into SSH on your old server.

mysqldump -u username -p database_name > dumpfile.sql

That will prompt you for your password and export the database into a text file that you can use to recreate the database on your new server as follows:

mysql -u username -p database_name < dumpfile.sql

*Note: The username is your mysql username, not your web account username.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution


malware removal and website security

© Tech Logic Solutions Inc. All Rights Reserved

Bradford - Newmarket - Barrie - Toronto - Halifax - Vancouver - Calgary - Edmonton - Regina - Winnipeg - Ottawa - Montreal - Canada - USA - UK