Currently I am use Wamp server and PHP Platfrom and we want sql dump for my database; I am used below command for export/dump of MYSQL database.
1.mysql> mysqldump database1 > d:/database2.sql;
2.mysql> mysqldumo database1 > d:\database2.sql;
Both commands are showing below error on my local system and server.
Error 1064 (42000): 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 database1 > d:/database2.sql' at line 1
Any one know, how can we resolve this issue?
Thanks.