Check connection related issue of mysql
Check connection issue of mysql
#show connection configuration
show variables like '%max_connection%';
#Change the limitation of max_connection temporarily
set global max_connections=600;
#check current status
status;
#check how many processes running
show processlist;
#Kill the locked connections
for id in `mysqladmin processlist | grep -i locked | awk '{print $1}'`
do
mysqladmin kill ${id}
done
#Run killing sql
source kill_thread_id.sql
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10973950/viewspace-2215352/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- EOSIO MySQL 外掛 issue 1MySql
- EOSIO MySQL 外掛 issue 2MySql
- Mysql replication check指令碼MySql指令碼
- MySQL:Lost connection to MySQL server at 'readingMySqlServer
- ESD Related knowledge
- LeetCode Flatten Related ProblemsLeetCode
- Dr.Elephant mysql connection errorMySqlError
- issue
- django ORM 中 select_related 與 prefetch_related 的使用場景DjangoORM
- Lost connection to MySQL server at 'reading authorization packet'MySqlServer
- Mysql 如何更改default collation_connection settingMySql
- MySQL異常刨析:ata source rejected establishment of connection, message from server: “Too many connectionMySqlServer
- Mysql mysql lost connection to server during query 問題解決方法MySqlServer
- Django筆記十一之外來鍵查詢最佳化select_related和prefetch_relatedDjango筆記
- Flutter Weekly Issue 44Flutter
- rac vip failback issueAI
- onclick="return check()" 和 onclick="check()" 區別
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- nacos Connection refused (Connection refused)
- mysqldump: Error 2013: Lost connection to MySQL server during query when dumpingMySqlErrorServer
- Mysql host is blocked because of many connection errors;unblock解決方法MySqlBloCError
- Connection
- Check if String is HappyAPP
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- CHECK_INTERFACE作用
- check_document_position
- SAP WM中階Storage Type的Capacity Check – Usage check based on SUT
- Chromium issue 1196683、1195777分析
- 錯誤內容:You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverErrorMySqlServer
- mysql會話控制限制登入次數(connection_control外掛)MySql會話
- Java專案連線資料庫Mysql報錯create connection SQLExceptionJava資料庫MySqlException
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- [LintCode] Check Full Binary Tree
- 括展actuator health check
- check memcached process and restart if downREST
- nmcli connection reload
- SAP WM中階儲存型別的Capacity Check – Usage check based on material型別