03 Jun

ansible: ‘Sending passwords in plain text without SSL/TLS is extremely insecure’

ansible MySQL replication fails to change master with the following error: ‘Sending passwords in plain text without SSL/TLS is extremely insecure.’

To fix the problem open /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py and change:

defer_warnings = False

to

defer_warnings = True

This is ugly but it works.



Leave a Reply

Your email address will not be published. Required fields are marked *