Used mysql2 instead of sqlite3