BIG
Edit /etc/security/limits.conf
and add the following lines
mysql soft nofile 65535
mysql hard nofile 65535
then reboot.
Then edit /usr/lib/systemd/system/mysqld.service
or /usr/lib/systemd/system/mariadb.service
and add
LimitNOFILE=infinity
LimitMEMLOCK=infinity
Then restart the db service:
systemctl reload mariadb.service
systemctl reload mysql.service
LIST
'!!...MySQL&MariaDB' 카테고리의 다른 글
[MySQL]MySQL ERROR 1118 (42000): Row size too large (0) | 2022.09.13 |
---|---|
[MariaDB]단방향 암호화 SHA 256 샘플 (0) | 2022.08.01 |
[MySQL] Mysql Join 해부(Left, Right, Outer, Inner Join) (0) | 2017.12.18 |
[MySQL] MySQL 초기 root 비밀번호 설정 (0) | 2017.08.08 |
[MySQL] MySQL slow query log retate ( 로그파일분할 ) (0) | 2017.08.01 |