mysqldump command not working?

I am using mysqldump to take backup of my database, but the command is not working..
the command i am using is mysqldump -u root dbname> 'c:\backupdatafolder\backup.sql'
i am running this command in MySQL cli but not running, there any thing wrong in the command?


You are supposed to run that on the command line of your operating system not on the MySQL CLI.

cd to the bin folder of MySQL first, something like C:\mysql\bin or wherever your MySQL is installed on

Source : Link , Question Author : Harish Kurup , Answer Author : bakkal

Leave a Comment