- 커넥션 수 확인
mysql> show variables like 'max_connections';
Variable_name | Value | |
max_connections | 151 | |
mysqlx_max_connections | 100 |
- 현재 사용중인 커넥션 확인
mysql> show status like 'Max_used_connections';
Variable_name | Value | |
Max_used_connections | 187 |
--> 초과중
- 커넥션 수 수정
mysql> set global max_connections=1000;
Variable_name | Value | |
max_connections | 1000 | |
mysqlx_max_connections | 100 |