#1040 - Too many connections // XE cannot connect to DB. 이런 에러 나올때

by 자꾸만 posted Nov 20, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

#1040 - Too many connections
XE cannot connect to DB.

이런 에러 나올때

 

mysql 에서 max_connection 제한때문에 일어나는 에러

현재 msyql max_connetion 확인

#mysqladmin -u root -p variables | grep max_connection

 

mysql 설정파일에서 max_connetion 늘리기

#mysql -u root -p

mysql 접속후 명령어 입력

SET GLOBAL max_connections=500;

 

my.cnf 수정

#vi /etc/my.cnf

[mysqld]

max_connections=500 없으면 입력 맨 첫줄

mysqld 재시작