Can not connect to MySQL server on localhost

Source: Internet
Author: User

After MySQL created the local link, sometimes after rebooting the link will not open, reported the following error:Can not connect to MySQL server on localhost.

Workaround: Go to Task Manager to see if the MySQL service has started (my is this reason), DOS execute command net start MySQL, start MySQL service, problem solved.

This article is from the "Javaruler" blog, make sure to keep this source

Can not connect to MySQL server on localhost

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: 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.