1. 01 Apr, 2014 1 commit
    • Remove extra quote from the mysqldump password argument · 134c449c
      The mysqldb Ansible module will fail if the state specified is import or dump with a '1045: Access Denied' mysql error for complex passwords.
      
      This is caused by the extra quote around the '--password' argument to mysqldump, as pipes.quotes already quotes the password string.
      
      >>> "--password='%s'" % pipes.quote('simple')
      "--password='simple'"
      
      >>> "--password='%s'" % pipes.quote('c0mplexp@ssword!')
      "--password=''c0mplexp@ssword!''"
      
      >>> "--password='%s'" % pipes.quote('password with space')
      "--password=''password with space''"
      Chao Luan committed
  2. 19 Mar, 2014 36 commits
  3. 18 Mar, 2014 3 commits