Convert from sqlite to MySQL