correct database creation if not exists for mariadb
delete unused line