2016-09-07 8 views

답변

1
Runtime.getRuntime().exec("mysql -u username -password dbName xxx.sql") 

이것을 사용하면 복원 할 수 있습니다.

+0

Runtime.getRuntime(). exec ("cmd/c mysqldump -u root -password stdtravels1

+0

다음 페이지를 참조하십시오. http://stackoverflow.com/questions/4755552/how-to-import-an-sql-file-to-mysqldump-using-command-line – Rishi

관련 문제