Fix for mariadb as well