mysql restore file.sql syntax error using command line

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-04-26T09:55:44Z Indexed on 2010/04/26 11:53 UTC
Read the original article Hit count: 168

Filed under:
|

when I input

mysql -u root -p XXXX dbname < c:/filename.sql

alway get this error "error 1064 <42000>:" you have an error in your SQL suntax; check the manual that corresponds to your MySql server version for the right syntax to use near .....

what is wrong with this statement?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about database-restore