当前位置:网站首页>About MySQL database connection exceptions
About MySQL database connection exceptions
2022-07-05 03:07:00 【CSDN Q & A】
mysql After the computer is installed , Normal use , Click the website every other time , The website is in circles , It's OK to click on the website later , The server prompt error is
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@133aebc0 -- APPARENT DEADLOCK!!!
This problem occurs from time to time every day . A few days after the Spring Festival , Look at the regular backup of the database , Backup failed for twoorthree days , The error message is
ERROR:2003,Can't connect to MySQL server on 'localhost'(10060)Error in Connection
What problem caused ? Is there any application on my computer that shuts down automatically MySQL service , Or I install MySQL Time problem , Need to unload and reload
Take the answer :
This problem needs to be tracked in the log , The first thing to do is to check whether the logging is turned on :
show variables like "%log%";
see log_bin Whether the property is ON. If you feel unsure , You can execute the log opening instruction :
set global general_log = on;
And let's see mysql Error log for :
show variables like "%log_error%";-- In the result returned by this statement , There is one log_error attribute , Its value is a file path in your computer ,-- adopt notepad++ Wait for the text reading software to open this log file
If there are many wrong messages in this file ( Take time ), You can make corresponding Baidu or Google according to the content of the error report ,
If there is no information , Then let mysql Continue operation , When there are more problems , Let's see what is output in this file
I hope I can help you .
边栏推荐
- Azkaban installation and deployment
- ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
- The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
- Acwing第 58 场周赛【完结】
- Sqoop命令
- Azkaban actual combat
- Bumblebee: build, deliver, and run ebpf programs smoothly like silk
- Apache build web host
- Single box check box
- Design and implementation of community hospital information system
猜你喜欢
Design and implementation of kindergarten management system
Cut! 39 year old Ali P9, saved 150million
单项框 复选框
Sqoop安装
Asp+access campus network goods trading platform
Character painting, I use characters to draw a Bing Dwen Dwen
Multi person online anonymous chat room / private chat room source code / support the creation of multiple chat rooms at the same time
Flume configuration 4 - customize mysqlsource
2. Common request methods
IPv6 experiment
随机推荐
Moco V2 literature research [self supervised learning]
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
ELK日志分析系统
Share the newly released web application development framework based on blazor Technology
GFS distributed file system
Simple use of devtools
2021 Li Hongyi machine learning (2): pytorch
2021 Li Hongyi machine learning (3): what if neural network training fails
【LeetCode】98. Verify the binary search tree (2 brushes of wrong questions)
Elfk deployment
ELFK部署
When the low alcohol race track enters the reshuffle period, how can the new brand break the three major problems?
Character painting, I use characters to draw a Bing Dwen Dwen
Une question est de savoir si Flink SQL CDC peut définir le parallélisme. Si le parallélisme est supérieur à 1, il y aura un problème d'ordre?
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Design of KTV intelligent dimming system based on MCU
Zabbix
Clean up PHP session files
IPv6 experiment
Machine learning experiment report 1 - linear model, decision tree, neural network part