티스토리 뷰
아직도 Mysql 3.23.58 쓰는 사람들이 많다..ㅋ
mysql 3.23.58 버전은 my.cnf 에 max_connections = 512 와 같이 옵션 값을 주고 재시작시 mysql 시작하지 못함.
--> 이 방법은 mysql 4.0 이상에서만 통용되는 것임.
1) mysql 3.23.58 버전에서는 /etc/my.cnf 에 값을 넣는 것이 아니라
mysql 데몬 시작시 아래와 같이 옵션 값을 주어 시작하여야 합니다.
--> OS 재설치시 이점 참고하시기 바랍니다.
/etc/init.d/mysql 134라인에 다음과 같이 MAX 값 512 로 설정해드림.
$bindir/safe_mysqld --datadir=$datadir -O max_connections=512 --pid-file=$pid_file &
2) mysql 콘솔에서 설정된 max connections 값 확인
show variables like '%max_connections%';
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| max_connections | 512 |
+-----------------+-------+
1 row in set (0.00 sec)
'Linux' 카테고리의 다른 글
mysql 외부 접속 가능하게 하기 (0) | 2015.06.10 |
---|---|
sysctl.conf (kernel parameter) (0) | 2015.06.10 |
imuxsock begins to drop messages from pid, imuxsock lost 134 messages from pid (0) | 2015.06.10 |
리눅스 kernel BYPASS (0) | 2015.06.04 |
Centos 6 iptables, ipset, geoip 연동하기 (patch-o-matric-ng) (0) | 2015.06.04 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- pptp
- HAProxy
- GeoIP
- cURL
- mariadb
- iptables
- virtualbox
- OpenVPN
- Apache
- ntp
- yum
- 인증서
- MySQL
- ssh
- mod_security
- 베이어다이나믹
- php
- L2TP
- kvm
- centos8
- centOS7
- glusterfs
- 리눅스
- gitlab
- SSL
- IPSEC
- softether
- galera
- NGINX
- WAF
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함