impl enabling MYSQL_OPT_RECONNECT and mysql auto_connect