MySQL does not start, always in the startup state to resolve "Mac OSX"

Source: Internet
Author: User

Recently, encountered a problem, that is, MAC using homebrew installed MySQL, today using Mysql.server Start,mysql can not start, restart can not find the PID, the service did not start!

The error is as follows:

Google, find a solution! Simple is: According to the error of the startup report, go to the appropriate folder, delete all the *.err files, and then create the no PID file!

It is possible to solve the problem at this point, but I still error, and then check whether there are MySQL related processes are running,

Run: ps-a |grep MySQL with the following results

Decisively kill all, re-run sudo mysql.server start, success! Later found that as long as there is no manual shutdown of the MySQL service, the computer into the sleep state, and then wake up, this problem will occur, so, the computer restarts a bit OK, the specific into the sleep state what happened, still did not ask for a solution!

MySQL does not start, always in the startup state to resolve "Mac OSX"

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.