Cant Connect MySQL Server (localhost:3306) problem

Source: Internet
Author: User


Later, Baidu search for a discovery, said Microsoft TCP/IP update patch KB967723 problem, in addition to remove the program in the removal of this patch can be.


And then there's one way to do that is to modify the registry.

Modify the Registration Form
This method is a method given by Microsoft to modify the registry to fix the bug because the number of default maximum temporary TCP ports is 5000 applicable to the products included in the section. Add a new parameter to these products. To increase the upper limit of the temporary port, follow these steps:

Start Registry Editor.

Locate the following subkey in the registry, and then click Parameters:
Hkey_local_machine/system/currentcontrolset/services/tcpip/parameters
Click New on the Edit menu, and then add the following registry key:
Value Name: MaxUserPort
Value type: DWORD
Value data: 65534
Valid range: 5000-65534 (decimal)
Default value: 0x1388 (50,000)


My problem is not the above reason, is a dozen more symbols

You have determined that the server MySQL service is normal and that the user name, password, and database name are correct and that you are still prompted for errors that cannot connect to the database.

After a number of searches, the reason for the database user password contains $ characters caused by the modification of the password problem resolution.

PS: A lot of CMS in the database connection when reported this error, such as the database can check the password is not with $ this symbol, you can change the try

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.