Fix errors in the transplantation of MySQL.