restore backup

i am trying to restore backup from my old server using the shel
i get this error when i use :
mysqldump -uxxxxx -pxxxxx db >db.sql

ERROR 1064 at line 20: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 6


please advice

 

 

 

 

Top