Created
September 9, 2013 13:08
-
-
Save kezabelle/6495356 to your computer and use it in GitHub Desktop.
an attempt to document a 'perfect' connection string for MySQL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.mysql', | |
'OPTIONS':{ | |
"init_command": "SET storage_engine=INNODB, collation_connection='utf8_unicode_ci', sql_mode='TRADITIONAL', NAMES 'utf8';", | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment