Changes between Version 1 and Version 2 of Ticket #30636


Ignore:
Timestamp:
Jul 13, 2019, 12:47:28 PM (5 years ago)
Author:
Yann Sionneau
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30636 – Description

    v1 v2  
    2828This happens because Django tries to clone the database using mysqldump: https://github.com/django/django/blob/master/django/db/backends/mysql/creation.py#L60
    2929In my case I've printed the arguments, it gives:
     30
     31{{{
    3032dump_cmd: ['mysqldump', '--routines', '--events', '--defaults-file=/var/lib/jenkins/workspace/Pytition_master/my.cnf', 'test_']
    3133load_cmd: ['mysql', '--defaults-file=/var/lib/jenkins/workspace/Pytition_master/my.cnf', 'test__1']
    3234mysqldump: unknown variable 'defaults-file=/var/lib/jenkins/workspace/Pytition_master/my.cnf'
     35
     36}}}
    3337
    3438However, it seems that, even if this is undocumented in mysqldump's man page, it does only support --defaults-file parameter when in first position.
Back to Top