瀏覽代碼

Fixed #26121 -- Updated MySQL storage engine example.

default_storage_engine was introduced in MySQL 5.5.3.
storage_engine was removed in MySQL 5.7.5.
Tim Graham 9 年之前
父節點
當前提交
79d0a4fdb0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/ref/databases.txt

+ 1 - 1
docs/ref/databases.txt

@@ -461,7 +461,7 @@ storage engine, you have a couple of options.
   creating your tables::
 
       'OPTIONS': {
-         'init_command': 'SET storage_engine=INNODB',
+         'init_command': 'SET default_storage_engine=INNODB',
       }
 
   This sets the default storage engine upon connecting to the database.