Fixed undefined mysql_connect in mariadb tests