mysqldump --add-drop-table --extended-insert --force --log-error=error.log -uUSER -pPASS DB_NAME | ssh -C host@server "mysql -uUSER -pPASS NEW_DB_NAME"
mysqldump --add-drop-table --extended-insert --force --log-error=error.log -uUSER -pPASS DB_NAME | ssh -C host@server "mysql -uUSER -pPASS NEW_DB_NAME"
ReplyDelete