Updates to MySQLDatabase

A very small error on the escaping method has been fixed.