Switches MySQLDatabase to use MySQLi class.