当前位置:网站首页>Too many database connections
Too many database connections
2022-07-24 05:47:00 【Qinglin emo】
Mysql Too many connections 、Mysql Handling the problem of too many connection errors
Two ways :
1. Direct change mysql Connection number
see mysql The maximum number of connections allowed show variables like '%max_connections%' ;
see mysql Number of connections used show global status like'Max_used_connections';
modify mysql The maximum number of connections allowed set GLOBAL max_connections=1000;
2. stay mysql In the configuration file max_connections attribute
stay Windows The name of the configuration file in the system is my.ini stay Linux The name of the configuration file in is my.cnf
Below I post my own configuration. I use mysql8
[client]
default-character-set = utf8mb4
[mysql]
default-character-set=utf8mb4
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
init_connect='SET NAMES utf8mb4'
max_connections=1000
skip-character-set-client-handshake = true
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
边栏推荐
- 【activiti】网关
- MySQL的分页你还在使劲的limit?
- Vulnhub solidstate: 1 target penetration test
- The profound meaning of unlimited ecological development in Poka -- Multidimensional Interpretation of parallel chain
- 多商户商城系统功能拆解11讲-平台端商品栏目
- Zotero快速上手指南
- Insanity:1 (insanity hosting) target penetration vulnhub
- 达梦数据库_逻辑备份
- 多商户商城系统功能拆解14讲-平台端会员等级
- 达梦数据库_常用初始化参数
猜你喜欢
![利用流媒体将RSTP流转成WEB端播放(二)[可回看]](/img/b9/2c0e6eb19acaa2356ff49f6e272826.png)
利用流媒体将RSTP流转成WEB端播放(二)[可回看]

Are you still trying to limit MySQL paging?

plsql查询数据乱码

Logical structure of Oracle Database

【activiti】activiti介绍

Multi merchant mall system function disassembly lecture 05 - main business categories of platform merchants

【activiti】个人任务

ODS、数据集市、数据仓库的异同点

Oracle数据库的逻辑结构

likeshop | 单商户商城系统代码开源无加密-PHP
随机推荐
多商户商城系统功能拆解07讲-平台端商品管理
MySQL和Oracle的语法差异
Multi merchant mall system function disassembly lecture 06 - platform side merchant settlement agreement
详谈数据同步工具ETL、ELT,反向ETL
mysqldump 导出中文乱码
达梦数据库_用户口令策略
Oracle数据库的逻辑结构
【vsphere高可用】主机和虚拟机故障监测工作原理
多商户商城系统功能拆解12讲-平台端商品评价
Flink Watermark机制
MySQL误操作后如何快速恢复数据
【activiti】组任务
MySQL queries the last four digits of the mobile phone number. How to write the first few digits?
SqlServer 完全删除
Highcharts use custom vector maps
达梦数据库_逻辑架构基础
【mycat】mycat分库分表
Read "Enlightenment: a 20-year career experience of an IT executive"
【mycat】mycat介绍
The bottom of decentralization is consensus -- Interpretation of Polkadot mixed consensus mechanism