changed postgres to mysql