mysql_db can't authenticate when mysql 8 using mysql_native_password #69293
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
collection:community.general
collection
Related to Ansible Collections work
database
Database category
module
This issue/PR relates to a module.
mysql
needs_collection_redirect
https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md
python3
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
mysql_db and mysql_user modules fail to auth with mysql8 when mysql_native_password is set as default authentication plugin.
ISSUE TYPE
COMPONENT NAME
mysql_db
mysql_user
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
MacOS 10.15.4 (19E287)
STEPS TO REPRODUCE
mysql installation with
default-authentication-plugin=mysql_native_password
credentials set in /root/.my.cnf
EXPECTED RESULTS
mysql db to be created
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: