Random occurrence of MySQL can not connect the related issues
Source: Internet
Author: User
Randomly occurring MySQL cannot connect to the problem
My environment is IIS 6.0 + MYSQ 5.0 + PHP 5.2.9, will randomly appear could not connect:can ' t connect to MySQL server on ' 127.0.0.1 ' (10061) error, refresh and connect again It's okay.
I hope everyone to make constructive suggestions, do not say that IIS is wrong, I would like to hear the solution, thank you
------Solution--------------------
If you can not find a way, then use try catch, not connected to continue the link (of course, this method is forced to the circumstances, it is best to find out what is wrong)
------Solution--------------------
Key words: "MySQL 10061", the information is still many, the bottom of this may depend on the dot spectrum.
Http://blog.sina.com.cn/s/blog_485474590100h8um.html
------Solution--------------------
The problem with IIS?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service