switches from sqlite to mysql