modify database settings use mysql2 instead of sqlite3