Your IP : 3.17.164.34


Current Path : /etc/
Upload File :
Current File : //etc/my.cnf

[mysqld]
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
symbolic-links = 0
log-error = /var/log/mysqld.log

skip-external-locking
skip-name-resolve = 0
performance_schema = ON

# Memory Settings
innodb_buffer_pool_size = 40G
innodb_log_file_size = 128M
innodb_log_buffer_size = 32M
query_cache_size = 64M
query_cache_type = 1
key_buffer_size = 256M
sort_buffer_size = 4M
read_buffer_size = 4M
read_rnd_buffer_size = 8M
join_buffer_size = 8M

# Thread and Connection Management
max_connections = 500
thread_cache_size = 50
table_open_cache = 2000
table_definition_cache = 2000

# Timeout Settings
wait_timeout = 120
interactive_timeout = 120
connect_timeout = 120
lock_wait_timeout = 60
innodb_lock_wait_timeout = 50
net_read_timeout = 30
net_write_timeout = 30

# InnoDB Optimization
innodb_file_per_table = 1
innodb_flush_log_at_trx_commit = 2
innodb_flush_method = O_DIRECT
innodb_thread_concurrency = 16
innodb_read_io_threads = 8
innodb_write_io_threads = 8

max_allowed_packet=268435456