当前位置:网站首页>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 .
边栏推荐
- Bumblebee: build, deliver, and run ebpf programs smoothly like silk
- Design of KTV intelligent dimming system based on MCU
- Azkaban overview
- [200 opencv routines] 99 Modified alpha mean filter
- Why are there fewer and fewer good products produced by big Internet companies such as Tencent and Alibaba?
- D3js notes
- Usage scenarios and solutions of ledger sharing
- Azkaban actual combat
- How to make OS X read bash_ Profile instead of Profile file - how to make OS X to read bash_ profile not . profile file
- Design and implementation of high availability website architecture
猜你喜欢

SQL performance optimization skills

VM in-depth learning (XXV) -class file overview
![ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience](/img/22/08617736a8b943bc9c254aac60c8cb.jpg)
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience

腾讯云,实现图片上传

Design of KTV intelligent dimming system based on MCU

2021 Li Hongyi machine learning (2): pytorch

Bumblebee: build, deliver, and run ebpf programs smoothly like silk

Flume configuration 4 - customize mysqlsource

Talk about the SQL server version of DTM sub transaction barrier function

Design and implementation of campus epidemic prevention and control system based on SSM
随机推荐
Hot knowledge of multithreading (I): introduction to ThreadLocal and underlying principles
数据库和充值都没有了
When the low alcohol race track enters the reshuffle period, how can the new brand break the three major problems?
Accuracy problem and solution of BigDecimal
Tiny series rendering tutorial
Asemi rectifier bridge 2w10 parameters, 2w10 specifications, 2w10 characteristics
Last words record
ELFK部署
Azkaban actual combat
Cette ADB MySQL prend - elle en charge SQL Server?
Pytest (4) - test case execution sequence
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Class inheritance in C #
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
Daily question 2 12
Pdf things
Pat grade a 1119 pre- and post order traversals (30 points)
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?
Use UDP to send a JPEG image, and UPD will convert it into the mat format of OpenCV after receiving it
Sqoop安装