G
Gast2
Gast
Hallo zusammen,
weiß jemand wie ich von java aus ein backup auf eine mySql datenbank mache??
weiß jemand wie ich von java aus ein backup auf eine mySql datenbank mache??
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Runtime.getRuntime().exec("cmd /C/Programme/MySQL/MySQL Server 6.0/bin/mysqldump.exe studio backup.sql");
Runtime.getRuntime().exec("cmd /C/Programme/MySQL/MySQL Server 6.0/bin/mysqldump.exe studio > backup.sql");
Runtime.getRuntime().exec("cmd /C/Programme/MySQL/MySQL Server 6.0/bin/mysqldump.exe studio -h localhost -a -C -c -e --user=root --password=passwort > backup/backup%Date%.sql");
private void dbdump(){
try{
Runtime.getRuntime().exec("cmd.exe D:/XAMPP/mysql/bin/mysqldump.exe -u root DBname > d:\backup.sql");
}catch(Exception e){
System.out.println("oh je "+ e);
}
}
private void dbdump(){
try{
Runtime.getRuntime().exec("D:/XAMPP/mysql/bin/mysqldump.exe -u root DBname > d:/backup.sql");
}catch(Exception e){
System.out.println("oh je "+ e);
}
}
private void dbdump(){
try{
Runtime.getRuntime().exec("cmd /c D:/XAMPP/mysql/bin/mysqldump.exe -u root DBname > d:/backup.sql");
}catch(Exception e){
System.out.println("oh je "+ e);
}
}