Merge "Bind mariadb to private iface"
This commit is contained in:
commit
7d5f3bfcf7
|
@ -1,5 +1,4 @@
|
|||
configs:
|
||||
db_max_timeout: 60
|
||||
db_root_password: password
|
||||
mariadb_addr: 0.0.0.0
|
||||
mariadb_port: 3306
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[mysqld]
|
||||
bind-address = {{ mariadb_addr }}
|
||||
bind-address = {{ network_topology["private"]["address"] }}
|
||||
port = {{ mariadb_port }}
|
||||
|
||||
datadir=/var/lib/mysql/
|
||||
|
@ -18,10 +18,6 @@ wsrep_node_name="HOSTNAME"
|
|||
wsrep_sst_method=xtrabackup-v2
|
||||
wsrep_sst_auth=mysql:password
|
||||
wsrep_slave_threads=4
|
||||
#wsrep_cluster_address=gcomm://IPADDR
|
||||
#wsrep_provider_options=gmcast.listen_addr=tcp://IPADDR
|
||||
#wsrep_node_address=IPADDR
|
||||
#wsrep_sst_receive_address=IPADDR
|
||||
|
||||
[server]
|
||||
pid-file=/var/lib/mysql/mariadb.pid
|
||||
|
|
Loading…
Reference in New Issue