Changed from postgresql to mysql.