mysql从的配置文件
mysql 从的配置文件
[client]
port = 3306
socket = /data/mysql/data/mysql.sock
#default-character-set=utf8
[mysqld]
#skip-grant-tables
sync_binlog=0
innodb_flush_log_at_trx_commit=0
default-time-zone = '+8:00'
local-infile=0
skip-name-resolve
skip-external-locking
back_log = 300
max_connections = 1000
max_allowed_packet = 32M
binlog_cache_size = 1M
max_heap_table_size = 64M
sort_buffer_size = 2M
query_cache_type=0
join_buffer_size = 2M
thread_cache = 8
ft_min_word_len = 4
thread_stack = 192K
tmp_table_size = 64M
port = 3306
socket = /data/mysql/data/mysql.sock
skip-external-locking
key_buffer_size = 16M
table_open_cache = 400
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
datadir=/data/mysql/data
log-bin=mysql-bin
replicate-ignore-db=test
replicate-ignore-db=performance_schema
replicate-ignore-db=information_schema
binlog-ignore-db=mysql
binlog-ignore-db=information_schema
binlog_format=row
server-id =202
relay-log=relay-bin
relay-log-index=relay-bin
log-queries-not-using-indexes
long_query_time =1
slow_query_log=on
log_queries_not_using_indexes=off
slow_query_log_file=/data/mysql/logs/slow_query.log
log-error=/data/mysql/logs/error.log
key_buffer_size = 32M
read_buffer_size = 2M
read_rnd_buffer_size = 2M
bulk_insert_buffer_size = 64M
myisam_sort_buffer_size = 32M
myisam_max_sort_file_size = 10M
myisam_repair_threads = 1
myisam_recover
innodb_buffer_pool_size=5000M
innodb_additional_mem_pool_size=32M
innodb_data_file_path = ibdata1:10M:autoextend
innodb_file_io_threads = 4
innodb_thread_concurrency = 16
innodb_log_buffer_size = 8M
innodb_log_file_size = 128M
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
innodb_file_per_table=1
innodb_open_files=500
character-set-server = utf8
wait_timeout=300
interactive_timeout=300
innodb_flush_method=O_DIRECT
log-bin-trust-function-creators=1
log_slave_updates = 1
relay-log = /data/mysql/logs/relay-log.log
[mysqldump]
quick
max_allowed_packet = 16M
user=root
password=root
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
#user=root
#password=root
[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
最新文章
- Hive_配置远程Metastore
- favicon.ico应用与正则表达式验证邮箱(可自动删除前后的空格)
- JAVA thread0.interrupt()方法
- 寒假 D3 D Modular Inverse
- 蓝牙HID协议笔记
- Eclipse Android HH and theme
- Swift学习笔记八
- shell 数学计算
- StringGrid右击选中表格(发消息给句柄模拟点击,右键点击也是MouseDown)
- win7 vs2010 安装cocos2d-x
- Js闭包的用途
- quagga源码分析--通用库command
- OC--初始化UINavigationController
- TortoiseGit 安装
- 小米5查看设备号信息及验证type-c数据线
- RabbitMQ 学习专栏
- 01:open-falcon入门篇
- ionic打包步骤(安卓)
- c++第十七天
- redis实现分布式锁 转自importnew 记录一下
热门文章
- linux查看tomcat启动运行日志
- part2
- if判断,switch语句
- (转)Android 只开启一个Activity实例
- P1348 Couple number
- 每日一练之大整数加法(P1255 数楼梯)
- js:上传图片并预览(https://blog.csdn.net/weixin_38023551/article/details/78318532)
- socket.io诡异的问题
- 第8章 IO库 自我综合练习
- Mysql出现(10061)错误提示的暴力解决办法