switched to mysql from sqlite