refactor table_mysql to be able to reconnect with the same config.
this was not supposed to go in
Merge branch 'master' into portable
fix previous
Merge branch 'master' into portable
call mysql_stmt_error in stmt error context
Merge branch 'master' into portable
try to reconnect on certain errors
Merge branch 'master' into portable