Mysql client cannot connect to mysqld-NT

Source: Internet
Author: User
Tags mysql client mysql delete

· Make sure that your mysqld server is not started using the -- skip-networking option. If this option is used, you cannot use TCP/IP to connect to it.
· Check and confirm that there is no firewall blocking MySQL access. Applications such as ZoneAlarm and Windows XP Personal Firewall need to be configured to allow external access to the MySQL server

· Make sure that your mysqld server is not started using the mysqld-nt program. If so, the solution is:

 

 

1. Stop the original MySQL service and delete it.
Net stop MySQL Stop Service
SC Delete MySQL Delete Service
2. Create a new service and start it.
Mysqld -- install mysql50 -- defaults-file = "C:/program files/MySQL Server 5.0/My. ini"
Set the service program to mysqld and the service name to mysql50.
Net start mysql50

After this setting, other machines and local machines can be connected to the server.

In fact, the original service program is mysqld-nt, and the above operations will replace this program with mysqld. That's all!

 

 

 

Note:

This article Reprinted from: http://liuzhijie2870125.blog.163.com/blog/static/24729023200812541254769/

Http://www.china701.com/625/10113Q614722.html

 

 

 

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.