You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.9 KiB
55 lines
1.9 KiB
# Copyright (c) 2014, 2024, Oracle and/or its affiliates.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License, version 2.0,
|
|
# as published by the Free Software Foundation.
|
|
#
|
|
# This program is designed to work with certain software (including
|
|
# but not limited to OpenSSL) that is licensed under separate terms,
|
|
# as designated in a particular file or component or in included license
|
|
# documentation. The authors of MySQL hereby grant you an additional
|
|
# permission to link the program and your derivative works with the
|
|
# separately licensed software that they have either included with
|
|
# the program or referenced in the documentation.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License, version 2.0, for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
#
|
|
# The MySQL Server configuration file.
|
|
#
|
|
# For explanations see
|
|
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
|
|
|
|
[mysqld]
|
|
pid-file = /var/run/mysqld/mysqld.pid
|
|
socket = /var/run/mysqld/mysqld.sock
|
|
datadir = /var/lib/mysql
|
|
log-error = /var/log/mysql/error.log
|
|
log_bin = on
|
|
bind-address = 0.0.0.0
|
|
port = 3344
|
|
|
|
server_id=130
|
|
binlog_format=row
|
|
default_storage_engine=InnoDB
|
|
innodb_file_per_table=1
|
|
innodb_autoinc_lock_mode=2
|
|
|
|
wsrep_on=ON
|
|
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
|
wsrep_cluster_name="cluster"
|
|
wsrep_cluster_address="gcomm://192.168.100.129,192.168.100.128"
|
|
wsrep_node_name="node_192_168_100_130"
|
|
wsrep_node_address="192.168.100.130"
|
|
wsrep_sst_method=rsync
|
|
wsrep_sst_auth=root:yanei!23
|
|
wsrep_notify_cmd="/var/lib/mysql/notify.py"
|
|
|