How to restore a MySQL database backup using Java

前端 未结 8 2146
日久生厌
日久生厌 2020-12-10 22:57

I was able to create a backup of my current mysql database as .SQL file using the mysqldump.exe with the help of the following java code. <

8条回答
  •  遥遥无期
    2020-12-10 23:38

    For restore use the executeCmd in the form m.Torkashvand provided (array of strings). A working example on how to use these commands from JSP code can be found here

提交回复
热议问题