This commit is contained in:
2025-05-20 19:57:01 +08:00
parent 8e29d15e6d
commit a2e0b1eac2
7 changed files with 154 additions and 19 deletions

View File

@@ -0,0 +1,2 @@
listen_addresses = '*'

View File

@@ -1,19 +0,0 @@
[mysqld]
mysqlx = OFF
skip-name-resolve = 1
max-user-connections = 600
## this should be less than 80% of total memory
innodb-buffer-pool-size = xxxxG
## this should be half of "innodb-buffer-pool-size"
innodb-buffer-pool-instances = xxxx
# binlog
server-id = 1
log-bin = /var/lib/mysql-bin/master
binlog-format = ROW
binlog-expire-logs-seconds = 172800
gtid-mode = ON
enforce-gtid-consistency = TRUE