mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
134c449cf6
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''" |
||
---|---|---|
.. | ||
mongodb_user | ||
mysql_db | ||
mysql_replication | ||
mysql_user | ||
mysql_variables | ||
postgresql_db | ||
postgresql_privs | ||
postgresql_user | ||
redis | ||
riak |