mirror of
https://github.com/django/django.git
synced 2025-08-09 21:38:18 +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 79d0a4fdb0
from master
This commit is contained in:
parent
b5c4972283
commit
647ce33e86
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue