when restoring a backup, if you have a large database, there could be a timeout error resulting restore error, would like to see if it can be improved.
example:
a user backup has the following DBs
user_1 10MB
user_2 20MB
user_3 2GB
user_4 1MB
user_5 9MB
so when restoring database user_3, it may take up to 2 minutes import the sql file into the database.
if you have optimized my.cnf for your mysql server, and set the wait_timeout value less than 2 minutes, you will receive error of "mysql server gone away" when restoring database user_4 and user_5, resulting unsuccessful backup restoration.
for some reason DA seems to use the same mysql connection all the way when restoring DBs, so I would like to see if using seperate mysql connections for each DB restore possible.
example:
a user backup has the following DBs
user_1 10MB
user_2 20MB
user_3 2GB
user_4 1MB
user_5 9MB
so when restoring database user_3, it may take up to 2 minutes import the sql file into the database.
if you have optimized my.cnf for your mysql server, and set the wait_timeout value less than 2 minutes, you will receive error of "mysql server gone away" when restoring database user_4 and user_5, resulting unsuccessful backup restoration.
for some reason DA seems to use the same mysql connection all the way when restoring DBs, so I would like to see if using seperate mysql connections for each DB restore possible.