30,997
edits
| Line 12: | Line 12: | ||
If you experience problem running this command (for example because your old hosting provider does not allow to run command mysqldump), you can launch the command from any other computer where MySql is installed. For this, run the following command: | If you experience problem running this command (for example because your old hosting provider does not allow to run command mysqldump), you can launch the command from any other computer where MySql is installed. For this, run the following command: | ||
<source lang="bash"> | <source lang="bash"> | ||
mysqldump -h ip_of_old_mysql_server -P port_of_old_mysql_server -u user_database -ppassword_database > | mysqldump -h ip_of_old_mysql_server -P port_of_old_mysql_server -u user_database -ppassword_database > myoldserverdump.YYYYMMDD.sql | ||
</source> | </source> | ||
* Open file mybackupfile.YYYYMMDD.sql to see if file is complete: File should end with such a line: | * Open file mybackupfile.YYYYMMDD.sql to see if file is complete: File should end with such a line: | ||