Skip to content
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

[BUG] inconsistent use of mysql_unix_socket in database.sls and user.sls #279

Open
thr27 opened this issue May 17, 2024 · 0 comments
Open
Labels

Comments

@thr27
Copy link

thr27 commented May 17, 2024

The state files for database and user use different setting for the usage of mysql socket connection.

mysql-formula\mysql\database.sls

uses socket definition from mysql:config.:ections:mysqld:socket

{%- set mysql_unix_socket = mysql.config.sections.mysqld.socket %}

whereas

mysql-formula\mysql\user.sls

uses socket definition from mysql:server:unix_socket

{%- set mysql_unix_socket = salt['pillar.get']('mysql:server:unix_socket', '') %}

Shouldn't both use the same definition?

@thr27 thr27 added the bug label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant