centos7+mysql5.7下的数据库参数配置
来源:互联网 发布:虚拟充值软件靠谱吗 编辑:程序博客网 时间:2024/06/07 06:09
#安装路径
basedir = /data/iqmkj/works/program/mysql
#数据存放路径
datadir = /data/iqmkj/works/program/mysql/data
#端口号
port = 3306
socket = /data/iqmkj/works/program/mysql/tmp/mysql.sock
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
#default-character-set=utf8
character-set-server=utf8
init_connect='SET NAMES utf8'
wait_timeout=300
back_log = 500
max_connections = 3000
max_connect_errors = 6000
external-locking = FALSE
max_allowed_packet = 64M
sort_buffer_size = 2M
join_buffer_size = 2M
thread_cache_size = 300
query_cache_size = 64M
query_cache_limit = 4M
query_cache_min_res_unit = 2k
default-storage-engine = MyISAM
thread_stack = 192K
transaction_isolation = READ-COMMITTED
tmp_table_size = 256M
max_heap_table_size = 256M
long_query_time = 2
binlog_cache_size = 4M
max_binlog_cache_size = 8M
max_binlog_size = 512M
expire_logs_days = 3
key_buffer_size = 2048M
read_buffer_size = 2M
read_rnd_buffer_size = 16M
bulk_insert_buffer_size = 64M
myisam_sort_buffer_size = 128M
myisam_max_sort_file_size = 10G
myisam_repair_threads = 1
lower_case_table_names = 1
innodb_buffer_pool_size = 2048M
innodb_thread_concurrency = 8
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 16M
innodb_log_file_size = 128M
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
innodb_file_per_table = 0
[client]
socket = /data/iqmkj/works/program/mysql/tmp/mysql.sock
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld_safe]
#日志路径
basedir = /data/iqmkj/works/program/mysql
#数据存放路径
datadir = /data/iqmkj/works/program/mysql/data
#端口号
port = 3306
socket = /data/iqmkj/works/program/mysql/tmp/mysql.sock
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
#default-character-set=utf8
character-set-server=utf8
init_connect='SET NAMES utf8'
wait_timeout=300
back_log = 500
max_connections = 3000
max_connect_errors = 6000
external-locking = FALSE
max_allowed_packet = 64M
sort_buffer_size = 2M
join_buffer_size = 2M
thread_cache_size = 300
query_cache_size = 64M
query_cache_limit = 4M
query_cache_min_res_unit = 2k
default-storage-engine = MyISAM
thread_stack = 192K
transaction_isolation = READ-COMMITTED
tmp_table_size = 256M
max_heap_table_size = 256M
long_query_time = 2
binlog_cache_size = 4M
max_binlog_cache_size = 8M
max_binlog_size = 512M
expire_logs_days = 3
key_buffer_size = 2048M
read_buffer_size = 2M
read_rnd_buffer_size = 16M
bulk_insert_buffer_size = 64M
myisam_sort_buffer_size = 128M
myisam_max_sort_file_size = 10G
myisam_repair_threads = 1
lower_case_table_names = 1
innodb_buffer_pool_size = 2048M
innodb_thread_concurrency = 8
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 16M
innodb_log_file_size = 128M
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
innodb_file_per_table = 0
[client]
socket = /data/iqmkj/works/program/mysql/tmp/mysql.sock
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld_safe]
#日志路径
log-error=/var/log/mysql/mysqld.log
1 0
- centos7+mysql5.7下的数据库参数配置
- CentOS7下的linux的MySQL5.7主从数据库的配置
- centos7下mysql5.6的编码配置
- Centos7下安装配置mysql5
- vmware12下的centos7 linux 安装 mysql5.17数据库
- centos7.3下MySQL5.7.19的安装与配置
- centos7安装数据库mysql5.7
- CentOS7下YUM安装与配置MySQL5.7
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置(YUM)
- CentOS7下安装MySQL5.7安装与配置(YUM)
- 383. Ransom Note
- 使用mysql-bin.0000xx日志文件恢复数据库
- 优先级队列2
- CSS中的定位和浮动
- war 等压缩文件打开
- centos7+mysql5.7下的数据库参数配置
- Linux Min
- 深入理解JavaScript的闭包特性 如何给循环中的对象添加事件
- 队列-解析算数表达式:后缀表达式
- C#开发人员应该知道的13件事情
- 双向队列
- 如何在Linux下干净卸载db2数据库
- git warning: LF will be replaced by CRLF in 解决办法
- 队列-运算后缀表达式