switch to mysql from postgresql