The computer name con causes MySQL to fail to start...

Source: Internet
Author: User
The green package of the supervisor cannot be started after installation. later, I suspect that the stability of the green package is tested. in mysqlofficial website, I downloaded the green package named mysql-5.6.10-winx64.zip. after installation, I suspect that the green package is stable, the MySQL Installer for Windows version is downloaded from its website. after installation, it cannot be started. the error code is 1067. open the MySQL log file:
14:16:35 3752 [ERROR] MySQL: Can't create/write to file
'D: \ Program Files \ mysql-5.6.10-winx64 \ data \ con. pid'
(Errcode: 13-Permission denied)
14:16:35 3752 [ERROR] Can't start server:
Can't create PID file: Permission denied
The system prompts that you do not have the permission to create the con. pid file. this is thought to be a file directory permission problem. later, you modified a series of user permissions, but it still cannot be solved. Then, create the con. * file in the directory manually. The result is as follows:

Suddenly, you cannot create a file named con. because the computer name is con, the MySQL pid file defaults to the host name. pid. Therefore, the service cannot be started. you need to change the default pidfile file name of MySQL. add pid-file = mysql to the INI file. pid.


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.