1.my.cnf配置
添加:
[client]
default-character-set = utf8 user = root
[mysqld]
binlog_format=ROW bind-address=0.0.0.0 default_storage_engine=InnoDB innodb_autoinc_lock_mode=2 innodb_flush_log_at_trx_commit=0 innodb_buffer_pool_size=122M innodb_locks_unsafe_for_binlog=1 wsrep_provider=/usr/lib/libgalera_smm.so wsrep_cluster_address=gcomm://192.168.189.24,192.168.189.25,192.168.189.30 wsrep_cluster_name=Yuqing_DB_Cluster wsrep_node_address=192.168.189.24 wsrep_node_name=Yuqing_DB_Node001 wsrep_sst_method=rsync wsrep_slave_threads=4 explicit_defaults_for_timestamp=1 default-time-zone = ‘+8:00‘
注释:
bind-address=127.0.0.0
时间: 2024-11-03 03:39:40