ზ3በંવવხްុլRxስសلçໂH℅૩/etc/
|
Current File : //etc/my.cnf |
[mysql]
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
disable-log-bin=1
# Required Settings
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
event_scheduler=OFF
basedir = /usr/
bind_address = *
datadir = /var/lib/mysql/
max_allowed_packet = 256M
max_connect_errors = 1000000
pid_file = /var/lib/mysql/inpro2.fcomet.com.pid
port = 3306
skip_external_locking
socket = /var/lib/mysql/mysql.sock
tmpdir = /tmp
user = mysql
performance_schema = 0
sql_mode = ""
default_authentication_plugin = mysql_native_password
# InnoDB Settings
default_storage_engine = InnoDB
innodb_buffer_pool_instances = 4
innodb_buffer_pool_size = 6G
innodb_file_per_table = 1
innodb_flush_method = O_DIRECT
innodb_log_buffer_size = 16M
innodb_log_files_in_group = 2
#innodb_log_file_size = 512M
innodb_stats_on_metadata = 0
#innodb_thread_concurrency = 15
innodb_read_io_threads = 4
innodb_write_io_threads = 4
# MyISAM Settings
key_buffer_size = 128M
low_priority_updates = 1
concurrent_insert = 2
# Connection Settings
max_connections = 500
back_log = 150
thread_cache_size = 50
#thread_stack = 192K
#interactive_timeout = 180
#wait_timeout = 180
# Buffer Settings
join_buffer_size = 256M
read_buffer_size = 128M
read_rnd_buffer_size = 256M
sort_buffer_size = 256M
open_files_limit=80000
max_heap_table_size = 256M
tmp_table_size = 256M
# Search Settings
ft_min_word_len = 4
# Logging
log_error = /var/lib/mysql/mysql_error.log
log-error-verbosity = 1
long_query_time = 3
slow_query_log = 1
slow_query_log_file = /var/lib/mysql/mysql_slow.log
mysqlx=0