博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mysql5.7配置文件(仅供参考)
阅读量:6602 次
发布时间:2019-06-24

本文共 1821 字,大约阅读时间需要 6 分钟。

[client]port = 3306socket = /tmp/mysql.sockdefault-character-set = utf8[mysqld]port = 3306socket = /tmp/mysql.sockbasedir = /usr/local/mysqldatadir = /data/mysql/datapid-file = /data/mysql/mysql.piduser = mysqlbind-address = 0.0.0.0server-id = 1skip-external-locking  explicit_defaults_for_timestampinit-connect = 'SET NAMES utf8'character-set-server = utf8#skip-name-resolveback_log = 300max_connections = 1000max_connect_errors = 6000open_files_limit = 65535table_open_cache = 128max_allowed_packet = 4Mbinlog_cache_size = 1Mmax_heap_table_size = 8Mtmp_table_size = 16Mread_buffer_size = 2Mread_rnd_buffer_size = 8Msort_buffer_size = 8Mjoin_buffer_size = 8M#key_buffer_size = 4Mthread_cache_size = 8query_cache_type = 1query_cache_size = 8Mquery_cache_limit = 2Mft_min_word_len = 4log_bin = /data/mysql/binlog/mysql-binbinlog_format = mixedexpire_logs_days = 30log_error = /data/mysql/mysql-error.logslow_query_log = 1long_query_time = 3slow_query_log_file = /data/mysql/mysql-slow.logperformance_schema = 0explicit_defaults_for_timestamplower_case_table_names = 1skip-external-lockingdefault_storage_engine = InnoDBinnodb_file_per_table = 1innodb_open_files = 500innodb_buffer_pool_size = 128Minnodb_write_io_threads = 4innodb_read_io_threads = 4innodb_thread_concurrency = 0innodb_purge_threads = 1innodb_flush_log_at_trx_commit = 2innodb_log_buffer_size = 2Minnodb_log_file_size = 32Minnodb_log_files_in_group = 3innodb_max_dirty_pages_pct = 90innodb_lock_wait_timeout = 120bulk_insert_buffer_size = 8Mmyisam_sort_buffer_size = 8Mmyisam_max_sort_file_size = 10Gmyisam_repair_threads = 1interactive_timeout = 28800wait_timeout = 28800skip-ssl[mysqldump]quickmax_allowed_packet = 16M[myisamchk]key_buffer_size = 8Msort_buffer_size = 8Mread_buffer = 4Mwrite_buffer = 4M

 

转载于:https://www.cnblogs.com/cnsong/p/8994654.html

你可能感兴趣的文章
前端日刊君来也
查看>>
OC 链式编程实战(封装NSMutableAttributedString)
查看>>
python中对文件的操作
查看>>
mysql数据库理论与实战
查看>>
面试题总结-Android部分
查看>>
从SpringMvc源码分析其工作原理
查看>>
上海下雨了,不来点函数防抖、节流压压惊?
查看>>
安卓开发框架系列开篇
查看>>
人民日报:不能让算法决定内容 否则价值取向跑偏
查看>>
react使用之ruex状态管理
查看>>
KVOController源码学习
查看>>
《JavaScript编程精解》--读书笔记
查看>>
Flutter学习指南:编写第一个Flutter应用
查看>>
高仿头条-广告系统中的级联面板组件
查看>>
Spring Boot
查看>>
Java开发大牛呕心沥血整理出来的「Redis实战.pdf」请领取!
查看>>
如何在一年之内达到bat级别的java架构师?
查看>>
AlphaGo之父: 先解决智能 再用智能解决一切
查看>>
Git
查看>>
Docker
查看>>