Use local socket for mysql client connection
This affects mysql client as well as mysqladmin, which is used in status checks in the init script. It is important that the init script can succeed regardless of LB state. (Prior to this commit, LB IP was used as the host to connect to). Related: #413
This commit is contained in:
parent
046bdd32ca
commit
a2853e0da4
@ -1,4 +1,4 @@
|
||||
[client]
|
||||
host={{ mysql_address }}
|
||||
socket=/var/run/mysqld/mysqld.sock
|
||||
user=root
|
||||
password={{ mysql_password }}
|
||||
|
Loading…
Reference in New Issue
Block a user