Merge "Bind mariadb to private iface"

This commit is contained in:
Jenkins 2016-07-28 13:57:58 +00:00 committed by Gerrit Code Review
commit 7d5f3bfcf7
2 changed files with 1 additions and 6 deletions

View File

@ -1,5 +1,4 @@
configs:
db_max_timeout: 60
db_root_password: password
mariadb_addr: 0.0.0.0
mariadb_port: 3306

View File

@ -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