CT Mysql: fixed config for mysql 8.4
This commit is contained in:
@@ -14,22 +14,22 @@ port = 3306
|
|||||||
basedir = /usr
|
basedir = /usr
|
||||||
datadir = /var/lib/mysql
|
datadir = /var/lib/mysql
|
||||||
tmpdir = /tmp
|
tmpdir = /tmp
|
||||||
lc-messages-dir = /usr/share/mysql
|
#lc-messages-dir = /usr/share/mysql
|
||||||
skip-external-locking
|
skip-external-locking
|
||||||
|
|
||||||
innodb_buffer_pool_size = 1G # (adjust value here to about, 50%-70% of total RAM)
|
innodb_buffer_pool_size = 1G # (adjust value here to about, 50%-70% of total RAM)
|
||||||
innodb_log_file_size = 256M
|
innodb_redo_log_capacity = 536870912
|
||||||
innodb_flush_log_at_trx_commit = 1 # may change to 0 or 2
|
innodb_flush_log_at_trx_commit = 1 # may change to 0 or 2
|
||||||
innodb_flush_method = O_DIRECT
|
innodb_flush_method = O_DIRECT
|
||||||
bind-address = 0.0.0.0
|
bind-address = 0.0.0.0
|
||||||
key_buffer_size = 16M
|
key_buffer_size = 16M
|
||||||
max_allowed_packet = 16M
|
max_allowed_packet = 16M
|
||||||
thread_stack = 192K
|
thread_stack = 192K
|
||||||
thread_cache_size = 8
|
thread_cache_size = 8
|
||||||
myisam-recover-options = BACKUP
|
myisam-recover-options = BACKUP
|
||||||
log-error = /var/log/mysql/error.log
|
log-error = /var/log/mysql/error.log
|
||||||
expire_logs_days = 10
|
#binlog_expire_logs_seconds = 864000
|
||||||
max_binlog_size = 100M
|
#max_binlog_size = 100M
|
||||||
|
|
||||||
[client]
|
[client]
|
||||||
socket = /var/run/mysqld/mysqld.sock
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
Reference in New Issue
Block a user