Portal Home > Knowledgebase > Getting Started (Cpanel Videos) > Moving MySQL databases to Blue1 Hosting


Moving MySQL databases to Blue1 Hosting




Log into SSH on your old server  or PhpMyadmin via your hosting control panel:

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?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution