Skip to content

Commit

Permalink
Fix Galera socket for RedHat
Browse files Browse the repository at this point in the history
At the moment, RedHat currently installs and listens on the
/var/lib/mysql/mysql.sock path, this can be seen by the following:

mysqld  13627 mysql   33u     unix 0xffff88079261cc00        0t0   3312115 /var/lib/mysql/mysql.sock

This patch resolves it which will allow the health checks to
function as they rely on the [client] section which contains
an incorrect path.

Change-Id: Iec88e911c6cf207bcea5bd067f9743b3eb50f60e
  • Loading branch information
mnaser committed Dec 22, 2017
1 parent 43458a8 commit f2bfbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/redhat-7.yml
Expand Up @@ -37,7 +37,7 @@ galera_server_required_distro_packages:

galera_etc_conf_file: "/etc/mysql/my.cnf"
galera_etc_include_dir: "/etc/mysql/conf.d"
galera_var_run_socket: "/var/run/mysqld/mysqld.sock"
galera_var_run_socket: "/var/lib/mysql/mysql.sock"

_galera_mariadb_server_package: "MariaDB-server"

Expand Down

0 comments on commit f2bfbd3

Please sign in to comment.