i am trying to backup my MySQL database using the following command but it generates error. I am using WAMP 2.0 server and is an XP machine.
[HTML]
mysqldump -u root -p 123456 db > backup.sql;
[/HTML]
[HTML]
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 'mysqldump -u root -p 123456 db > backup.sql' at line 1
[/HTML]
What is the problem? the MySQL version used is 5.0.45.
[HTML]
mysqldump -u root -p 123456 db > backup.sql;
[/HTML]
[HTML]
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 'mysqldump -u root -p 123456 db > backup.sql' at line 1
[/HTML]
What is the problem? the MySQL version used is 5.0.45.
Comment