adding Database check for Mysql/MariaDB