Changed database from sqllite3 to mysql