Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Having issues restoring this backup. Tables are missing. Here is the command that im using.

mysqldump --compatible=mysql323 -u user -ppassword database > backup.sql

and restore

mysqldump -u user -ppassword database < backup.sql

What i want to know is there something i should be careful of when backing up from Linux MySQL 5.0.51 and restoring onto Windows MySQL 5.5.17?

Also, when i try to restore to another machine with the same version on linux. The restore flashes up with the dump header and stops. No errors.

share|improve this question
add comment

1 Answer

You need to use the mysql client to restore the backup

Ex:

mysql -u user -ppassword database < backup.sql
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.