当前位置:网站首页>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 .
边栏推荐
- 1. Five layer network model
- Anchor free series network yolox source code line by line explanation four (a total of ten, ensure line by line explanation, after reading, you can change the network at will, not just as a participan
- 数据库和充值都没有了
- This + closure + scope interview question
- SFTP cannot connect to the server # yyds dry goods inventory #
- FBO and RBO disappeared in webgpu
- Accuracy problem and solution of BigDecimal
- SQL injection exercise -- sqli Labs
- SQL performance optimization skills
- Sqoop command
猜你喜欢
Sqoop installation
Elk log analysis system
SQL performance optimization skills
Avoid material "minefields"! Play with super high conversion rate
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Mongodb common commands
Zabbix
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Design and practice of kubernetes cluster and application monitoring scheme
Asp+access campus network goods trading platform
随机推荐
Talk about the SQL server version of DTM sub transaction barrier function
Ask, does this ADB MySQL support sqlserver?
Master Fur
Pat grade a 1119 pre- and post order traversals (30 points)
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
Anchor free series network yolox source code line by line explanation four (a total of ten, ensure line by line explanation, after reading, you can change the network at will, not just as a participan
SFTP cannot connect to the server # yyds dry goods inventory #
Three line by line explanations of the source code of anchor free series network yolox (a total of ten articles, which are guaranteed to be explained line by line. After reading it, you can change the
Why is this an undefined behavior- Why is this an undefined behavior?
Logstash、Fluentd、Fluent Bit、Vector? How to choose the appropriate open source log collector
Pat class a 1160 forever (class B 1104 forever)
Design and implementation of kindergarten management system
返回二叉树中两个节点的最低公共祖先
問下,這個ADB mysql支持sqlserver嗎?
Pdf things
Share the newly released web application development framework based on blazor Technology
2.常见的请求方法
The latest blind box mall, which has been repaired very popular these days, has complete open source operation source code
ICSI213/IECE213 Data Structures
Elfk deployment