Empty database after import
DieterVDW opened this issue · 2 comments
DieterVDW commented
Hi,
I was happy to find your tool to import a mysql dump, however after running the database is still empty?
Code I used:
val ret = MysqlImportService.builder()
.setJdbcConnString(container.jdbcUrl)
.setUsername(container.username)
.setPassword(container.password)
.setDatabase(DATABASE_NAME)
.setSqlString(dbDump)
.importDatabase()
Not sure if user error or bug...
SeunMatt commented
Hello @DieterVDW
Was the mysql dump from the msyql-backup4j library? The library can only import/process MySQL exports of itself.
Regards