본문 바로가기

카테고리 없음

MySQL Too many connections 오류 조치

[mysql 쿼리실행]

set global max_connections=500;

 

show variables like 'max_connections';

 

[영구설정]

vi /etc/my.cnf

[mysqld] max_connections = 500

service mysqld restart