modified mysql-to-mariadb