... | ... | @@ -27,13 +27,13 @@ DATABASES = { |
|
|
'default': {
|
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
|
'OPTIONS': {
|
|
|
'read_default_file': '/path/to/my.cnf',
|
|
|
'read_default_file': '/path/to/mysql.cnf',
|
|
|
},
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
# my.cnf
|
|
|
# mysql.cnf
|
|
|
[client]
|
|
|
database = NAME
|
|
|
user = USER
|
... | ... | |