Changed database from sqlite to mysql