fix code typo in `MysqlAdapter` .Closes #12647.