MySQL [ERROR] Can ' t ' create IP Socket:permission denied

Source: Internet
Author: User
Tags deprecated

/*************************************************************************** * MySQL [ERROR] Can ' t ' create IP Socke T:permission denied * Description: * In the embedded aspect, this permission problem is quite big, and sometimes not easy to find. * 2016-9-27 Shenzhen Nanshan Ping Shan village Zengjianfeng ******************************************************* *******************/first, the error phenomenon: Cat/var/mysql/Mysql.err700101 xx: on: theMysqld_safe starting mysqld daemon with databases from/var/MySQL700101  0: on: the[Warning]'--skip-locking'  isDeprecated and would be removedinchA future release. Please use'--skip-external-locking'instead. 700101  0: on: the[Note] Event scheduler:loaded0Events700101  0: on: the[Note]/usr/libexec/mysqld:ready forconnections. Version:'5.1.73-log'Socket'/tmp/mysql.sock'Port3306Source Distribution000101 xx: .: theMysqld_safe starting mysqld daemon with databases from/var/MySQL000101  0: .: the[Warning]'--skip-locking'  isDeprecated and would be removedinchA future release. Please use'--skip-external-locking'instead. 000101  0: .: the[ERROR] Can'T create IP Socket:permission denied        000101  0: .: the[ERROR] aborting000101  0: .: the[Note]/usr/libexec/Mysqld:shutdown Complete000101 xx: .: theMysqld_safe mysqld fromPID file/run/mysql/Mysqld.pid ended second, reason: should be mysqld the execution user is MySQL, then cannot use the content of root permission. Third, the solution: Cat/etc/my.cnf ... # the MySQL server [mysqld] .... user=root ...

MySQL [ERROR] Can ' t ' create IP Socket:permission denied

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.