migrate import log to mysql table, place mysql params in variables