mysql安装版参数文件_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

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29313086/viewspace-2073222/,如需转载,请注明出处,否则将追究法律责任。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值