33 lines
692 B
INI
33 lines
692 B
INI
|
|
[server]
|
|
skip-name-resolve
|
|
innodb_buffer_pool_size = 398M
|
|
innodb_buffer_pool_instances = 1
|
|
innodb_flush_log_at_trx_commit = 2
|
|
innodb_log_buffer_size = 32M
|
|
innodb_max_dirty_pages_pct = 90
|
|
query_cache_type = on
|
|
query_cache_limit = 2M
|
|
query_cache_min_res_unit = 2k
|
|
query_cache_size = 64M
|
|
tmp_table_size= 64M
|
|
max_heap_table_size= 64M
|
|
slow-query-log = 1
|
|
slow-query-log-file = /var/log/mysql/slow.log
|
|
long_query_time = 1
|
|
|
|
performance_schema = ON
|
|
|
|
[client]
|
|
default-character-set = utf8mb4
|
|
|
|
[mysqld]
|
|
character-set-server = utf8mb4
|
|
collation-server = utf8mb4_general_ci
|
|
transaction_isolation = READ-COMMITTED
|
|
log_bin = ON
|
|
binlog_format = ROW
|
|
|
|
# Enable login to mysql
|
|
plugin-load-add = auth_socket.so
|