MySQL cannot update PID file

Source: Internet
Author: User

Source after installing MySQL, the first time to start, often encounter can not update the PID file problems.

There are several reasons for this:


1. The service was not closed before. (if MySQL has been installed before, source installation directly uninstall MySQL, but did not shut down the service)


2. Initialization of data failed.


3. Data Catalog error.


4. Data Directory Permissions issues


Workaround: Check if 3306 port is occupied, if it is occupied, kill the process, release 3306 port, because the socket interface file can not be reused, and then restart MySQL.

See if the directory where the data is stored is correct.

View permissions for the data directory.

You can also view the data directory under the error log hostname.err, which generally logs the wrong information.

If there is no error log, the data directory specifies an error.


The specific problem also has to see the cause of the error, the above is for reference only.


This article is from the "Wang Supeng blog" blog, make sure to keep this source http://wangcf1009.blog.51cto.com/8589325/1568294

MySQL cannot update PID file

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.