update mysql to mysql2.