Changes between Version 1 and Version 2 of Ticket #30636
- Timestamp:
- Jul 13, 2019, 12:47:28 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30636 – Description
v1 v2 28 28 This happens because Django tries to clone the database using mysqldump: https://github.com/django/django/blob/master/django/db/backends/mysql/creation.py#L60 29 29 In my case I've printed the arguments, it gives: 30 31 {{{ 30 32 dump_cmd: ['mysqldump', '--routines', '--events', '--defaults-file=/var/lib/jenkins/workspace/Pytition_master/my.cnf', 'test_'] 31 33 load_cmd: ['mysql', '--defaults-file=/var/lib/jenkins/workspace/Pytition_master/my.cnf', 'test__1'] 32 34 mysqldump: unknown variable 'defaults-file=/var/lib/jenkins/workspace/Pytition_master/my.cnf' 35 36 }}} 33 37 34 38 However, it seems that, even if this is undocumented in mysqldump's man page, it does only support --defaults-file parameter when in first position.