1
0
mirror of https://github.com/django/django.git synced 2025-07-20 01:29:11 +00:00

[1.9.x] 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.

Backport of 79d0a4fdb0d13ba6a843dace2b90ab44e856bd85 from master
This commit is contained in:
Tim Graham 2016-01-22 08:19:00 -05:00
parent b5c4972283
commit 647ce33e86

View File

@ -461,7 +461,7 @@ storage engine, you have a couple of options.
creating your tables:: creating your tables::
'OPTIONS': { '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. This sets the default storage engine upon connecting to the database.