# [MySQL] blocked because of many connection errrors ์—๋Ÿฌ ํ•ด๊ฒฐ
Study Repository

[MySQL] blocked because of many connection errrors ์—๋Ÿฌ ํ•ด๊ฒฐ

by rlaehddnd0422

Problem

์–ด๋Š ์‹œ์ ๋ถ€ํ„ฐ ๊ฐ‘์ž๊ธฐ ์„œ๋ฒ„์—์„œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ ‘๊ทผํ•  ๋•Œ ์˜ˆ์™ธ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๋ฌธ์ œ๊ฐ€ ์ƒ๊ฒผ์Šต๋‹ˆ๋‹ค. ์˜ˆ์™ธ ๋กœ๊ทธ๋ฅผ ํ™•์ธํ•ด ๋ณด๋‹ˆ, ์œ„์™€ ๊ฐ™์ด ๋œจ๋Š”๋ฐ,

์ด ์˜ค๋ฅ˜๋Š” mysql๊ณผ ์—ฐ๊ฒฐ์ด ๋น„์ •์ƒ์ ์œผ๋กœ ๋Š์–ด์งˆ ๋•Œ ํšŸ์ˆ˜๋ฅผ ์นด์šดํŠธํ•ด์„œ max_connect_errors ๊ฐ’๋ณด๋‹ค ์ปค์ง€๋ฉด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ ‘๊ทผํ•˜์ง€ ๋ชปํ•˜๋„๋ก ๋ง‰๋Š” ์—๋Ÿฌ๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

 

Solve

 

SELECT @@global.max_connect_errors; // ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ๊ฐ’ ํ™•์ธ
flush hosts; // ์นด์šดํŒ… ๋œ ์—๋ŸฌํšŸ์ˆ˜ ์ดˆ๊ธฐํ™”

 

๋ธ”๋กœ๊ทธ์˜ ์ •๋ณด

Study Repository

rlaehddnd0422

ํ™œ๋™ํ•˜๊ธฐ