Как перенести БД MySQL на другой сервер?
# mysqldump -Q —max-allowed-packet=1M —extended-insert=false -u dbuser -p dbname > dbname_dump.sql
mysql> create database dbname;
# mysql -u root -p dbname < dbname_dump.sql
# mysqldump -Q —max-allowed-packet=1M —extended-insert=false -u dbuser -p dbname > dbname_dump.sql
mysql> create database dbname;
# mysql -u root -p dbname < dbname_dump.sql