Add library check for MySQL and SQLite