您好,登錄后才能下訂單哦!
這篇文章主要介紹MySQL5.6安裝參數文件的示例分析,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!
# MySQL_version 5.6.26
# Version 1.1
# Date 2016-03-31
# The MySQL server
[mysqld]
port = 5626
user = my5626
datadir = /data/mysql5626
tmpdir = /dev/shm
slave-load-tmpdir = /tmp
socket = /tmp/mysql5626.sock
key_buffer_size = 128M
max_allowed_packet = 16M
#table_cache = 2048
join_buffer_size = 16M
sort_buffer_size = 16M
read_buffer_size = 16M
read_rnd_buffer_size = 32M
myisam_sort_buffer_size = 128M
query_cache_size = 256M
query_cache_limit = 8M
max_tmp_tables = 256
tmp_table_size = 128M
max_heap_table_size = 128M
thread_cache_size = 64
thread_concurrency = 32
max_connect_errors = 99999999
long_query_time = 1
slow-query-log = 1
slow-query-log-file = slow.log
back_log = 600
myisam_repair_threads = 1
myisam_recover_options = force,backup
expire_logs_days = 10
interactive_timeout = 30
wait_timeout = 30
#old_passwords=1
skip-slave-start = 1
skip-name-resolve
max_user_connections = 4000
max_connections = 5000
character-set-server = utf8
read_only = 1
log-slave-updates = 0
#------------- innodb --------------
default-storage-engine = InnoDB
innodb_buffer_pool_size = 5G
innodb_additional_mem_pool_size = 32M
innodb_data_file_path = ibdata1:100M:autoextend
innodb_flush_log_at_trx_commit = 0
innodb_log_buffer_size = 8M
innodb_log_file_size = 1300M
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 20
innodb_file_per_table = 1
innodb_flush_method = O_DIRECT
innodb_support_xa = 0
innodb_io_capacity = 500
innodb_buffer_pool_instances = 10
server-id = 016205624
log-bin = mysql-bin
relay-log = relay-bin
log-error = error.log
[client]
user = mysqlha
password = xxx
port = 5626
socket = /tmp/mysql5626.sock
no-auto-rehash
[myisamchk]
key_buffer = 64M
sort_buffer_size = 32M
read_buffer = 16M
write_buffer = 16M
以上是“MySQL5.6安裝參數文件的示例分析”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。