private function initMySqlHandler()
 {
     $this->mysql = MySQL::instance();
     $this->mysql->connect(array('pdoInstance' => $this->preferencesList->pdoInstance, 'host' => $this->preferencesList->mysqlHost, 'port' => $this->preferencesList->mysqlPort, 'user' => $this->preferencesList->mysqlUser, 'pass' => $this->preferencesList->mysqlPass, 'dbName' => $this->preferencesList->dbName, 'dbCharset' => $this->preferencesList->dbCharset));
     if ($this->preferencesList->autoGenerateTables) {
         $schema = MySQLSchemaHandler::instance($this->preferences, $this->mysql->getHandler());
         $schema->createDefaultSchema();
     }
 }