mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
59 lines
1.2 KiB
INI
59 lines
1.2 KiB
INI
#
|
|
# This .cnf file starts 4 servers without enabling Galera.
|
|
# The galera_migrate.test will set wsrep_provider and the other settings as needed.
|
|
#
|
|
|
|
!include include/default_mysqld.cnf
|
|
|
|
[mysqld]
|
|
binlog-format=row
|
|
innodb_autoinc_lock_mode=2
|
|
innodb_flush_log_at_trx_commit=2
|
|
log-bin=mysqld-bin
|
|
|
|
wsrep_node_address=127.0.0.1
|
|
wsrep_causal_reads=ON
|
|
wsrep_sync_wait = 7
|
|
|
|
[mysqld.1]
|
|
#galera_port=@OPT.port
|
|
#ist_port=@OPT.port
|
|
#sst_port=@OPT.port
|
|
|
|
[mysqld.2]
|
|
#galera_port=@OPT.port
|
|
#ist_port=@OPT.port
|
|
#sst_port=@OPT.port
|
|
|
|
[mysqld.3]
|
|
#galera_port=@OPT.port
|
|
#ist_port=@OPT.port
|
|
#sst_port=@OPT.port
|
|
|
|
[mysqld.4]
|
|
#galera_port=@OPT.port
|
|
#ist_port=@OPT.port
|
|
#sst_port=@OPT.port
|
|
|
|
[ENV]
|
|
NODE_MYPORT_1= @mysqld.1.port
|
|
NODE_MYSOCK_1= @mysqld.1.socket
|
|
|
|
NODE_MYPORT_2= @mysqld.2.port
|
|
NODE_MYSOCK_2= @mysqld.2.socket
|
|
|
|
NODE_MYPORT_3= @mysqld.3.port
|
|
NODE_MYSOCK_3= @mysqld.3.socket
|
|
|
|
NODE_MYPORT_4= @mysqld.4.port
|
|
NODE_MYSOCK_4= @mysqld.4.socket
|
|
|
|
NODE_GALERAPORT_1= @mysqld.1.#galera_port
|
|
NODE_GALERAPORT_2= @mysqld.2.#galera_port
|
|
NODE_GALERAPORT_3= @mysqld.3.#galera_port
|
|
NODE_GALERAPORT_4= @mysqld.4.#galera_port
|
|
|
|
NODE_SSTPORT_1= @mysqld.1.#sst_port
|
|
NODE_SSTPORT_2= @mysqld.2.#sst_port
|
|
NODE_SSTPORT_3= @mysqld.3.#sst_port
|
|
NODE_SSTPORT_4= @mysqld.4.#sst_port
|