Home » java » MySql dump using java

MySql dump using java

To take mysql database backup we have Runtime.getRuntime().exec(executeCmd). executeCmd is command that will take backup of mysql database.
String executeCmd contains the mysqldump to backup database.
filePath variable contains the downloaded sql file.

Managed by MochaHost - Fast & Easy WordPress Hosting