-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: mysql_db ansible module tries to use tcp socket #46
Comments
Seems related to ansible/ansible#47736 (comment) When using MySQLdb it works fine, but fails when python-pymysql package is installed. This command fixes the issue on atom-test-sites:
The Looking at mysql_user documentation, the only requierement is (See https://docs.ansible.com/ansible/2.3/mysql_user_module.html):
|
So:
|
This issue is fixed, but I prefer to leave it open: never use the pymysql packages I'll try to review the molecule PR, it is very useful. Thanks! |
Same change I did here this morning: artefactual-labs/ansible-atom-replication@e8db189 |
It is a bug related to the mysql_db module.
The workaround is:
socket=/var/run/mysqld/mysqld.sock
in/root/.my.cnf
to use the unix socket.Error:
The text was updated successfully, but these errors were encountered: