test connection to mysql