switched from sqlite to mysql