Click here to Skip to main content
15,900,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys!

I have a mysql database and I want to take a backup of it using java program. Now my question is what query I can use or any other method.
I have use this:

backup database student to disk ='c:\backup\first.bak'

where student is database name. But, it gives an error that your sql syntax is incorrect.
Please, can anbody solve this problem?
Posted
Updated 17-Jan-11 22:36pm
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900