DataObjects/Events.php
[Pman.Core] / UpdateDatabase.php
index 68cc81f..11b0cd2 100644 (file)
@@ -912,7 +912,9 @@ class Pman_Core_UpdateDatabase extends Pman
         if ($done_check) {
             return;
         }
-        if (!empty($this->opts['skip-mysql-check'])) {
+        
+        
+        if (!empty($this->opts['skip-mysql-checks'])) {
             return;
         }
         // innodb in single files is far more efficient that MYD or one big innodb file.
@@ -921,7 +923,7 @@ class Pman_Core_UpdateDatabase extends Pman
         $db->query("show variables like 'innodb_file_per_table'");
         $db->fetch();
         if ($db->Value == 'OFF') {
-            die("Error: set innodb_file_per_table = 1 in my.cnf\n\n");
+            die("Error: set innodb_file_per_table = 1 in my.cnf (or run with --skip-mysql-checks\n\n");
         }
         
         $db = DB_DataObject::factory('core_enum');