CentOS Startup MySQL Service failed

Source: Internet
Author: User

150112  the: +: -Mysqld_safe starting mysqld daemon with databases from/data/MySQL150112  the: +: -[Warning] Can't create test file/data/mysql/localhost.lower-test150112  the: +: -[Warning] Can't create test file/data/mysql/localhost.lower-test^g/usr/libexec/mysqld:can't find file:'./mysql/plugin.frm'(errno:13)150112  the: +: -[ERROR] Can'T open the Mysql.plugin table. Please run Mysql_upgrade to create it.150112  the: +: -Innodb:initializing buffer pool, size =8.0M150112  the: +: -innodb:completed initialization of buffer pool150112  the: +: -Innodb:operating System error Number - inchAfileoperation. Innodb:the error means mysqld does not has the access rights toinnodb:the directory. Innodb:file name./ibdata1innodb:file operation Call:'Open'. Innodb:cannot continue operation.150112  the: +: -Mysqld_safe mysqld from PIDfile/var/run/mysqld/mysqld.pid Ended

Seems to be the problem of SELinux, did the following two steps can be

1. Modify the configuration file to modify the profile/etc/selinux/config (not verified not modified if it is possible)

Modify Selinux=enforcing to Selinux=permissive

2. Chcon-r-T Mysqld_db_t/data/mysql

  

CentOS Startup MySQL Service failed

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.