geerlingguy / ansible-role-mysql

Ansible Role - MySQL
https://galaxy.ansible.com/geerlingguy/mysql/
MIT License
1.05k stars 862 forks source link

Fix mysql tasks when using custom socket #459

Closed ghost closed 3 years ago

ghost commented 3 years ago

Update all tasks interacting with the MySQL db on the system to use the configured socket. Otherwise setting the mysql_socket variable to something different from the default will result in errors since the tasks can not connect to the db.

From : https://github.com/geerlingguy/ansible-role-mysql/pull/351