Some corrections for MySQL module.