Fixed MySQLInterface bugs.