connect to mysql per history-data-request
connect to mysql per history-data-request v2
Fix reconnect to mysql bugs