I am using MySQL 5.0 as back end with VB.NET as front end(Windows Applicaions). I want to take back up my database. I found one command through net as below.
mysql> mysqldump -u root -p root accounts > accounts.sql
My database name is ‘accounts’. When i am trying to run the above command in mysql> prompt, it gives error. Where i have to run the above command? Kind help needed.Advance Thanks.
Sivakumar.P
You must use mysql dump in the command line:
mysqldump –user=user –password=password database > database.sql
to restore:
mysql –user=user –password=password database < database.sql