Taking MySql backup from my Java application

Posted by dhiraj on Stack Overflow See other posts from Stack Overflow or by dhiraj
Published on 2010-06-11T09:10:49Z Indexed on 2010/06/11 9:23 UTC
Read the original article Hit count: 130

Filed under:
|

I am developing a Java application with MySql as the database. I have to dump the MySql database from my application periodically(let say every day at 10 a.m.) and I have written a batch (.bat) file for dumping the database. The batch file is working fine, but the problem is that it is asking for password each time during its execution.

Is there any way to dump MySql database without prompting for password and achieve it from Java application periodically?

© Stack Overflow or respective owner

Related posts about java

Related posts about mysql