Hi!
Help me configure ssh tunnel for galera cluster
Now the file conf
---------------
[mysqld]
query_cache_size=0
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
query_cache_type=0
bind-address=0.0.0.0
# Galera Provider Configuration
wsrep_provider=/usr/lib/galera/libgalera_smm.so
# Galera Cluster Configuration
wsrep_cluster_name="clusterDB"
wsrep_cluster_address="gcomm://ip1,ip2,ip3"
# Galera Synchronization Congifuration
wsrep_sst_method=rsync
wsrep_sst_auth=cluster_user:password
# Galera Node Configuration
wsrep_node_address="ip1"
wsrep_node_name="node"
----------------
I tried to change the bind-address=127.0.0.1
wsrep_cluster_address="gcomm://127.0.0.1:port,127.0.0.1:port"
wsrep_node_address="127.0.0.1:3306"
So do not start database
it does not work,
I do not know what to do. The Internet is very little information.
the tunnel itself
ssh -f -T -N -L port:localhost:port user@ip
Help solve the problem
Help me configure ssh tunnel for galera cluster
Now the file conf
---------------
[mysqld]
query_cache_size=0
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
query_cache_type=0
bind-address=0.0.0.0
# Galera Provider Configuration
wsrep_provider=/usr/lib/galera/libgalera_smm.so
# Galera Cluster Configuration
wsrep_cluster_name="clusterDB"
wsrep_cluster_address="gcomm://ip1,ip2,ip3"
# Galera Synchronization Congifuration
wsrep_sst_method=rsync
wsrep_sst_auth=cluster_user:password
# Galera Node Configuration
wsrep_node_address="ip1"
wsrep_node_name="node"
----------------
I tried to change the bind-address=127.0.0.1
wsrep_cluster_address="gcomm://127.0.0.1:port,127.0.0.1:port"
wsrep_node_address="127.0.0.1:3306"
So do not start database
it does not work,
I do not know what to do. The Internet is very little information.
the tunnel itself
ssh -f -T -N -L port:localhost:port user@ip
Help solve the problem