Mysql unrecognized service troubleshooting, mysqlunrecognized

Source: Internet
Author: User

Mysql unrecognized service troubleshooting, mysqlunrecognized
 

After yum install mysql is installed in centos, it is found that service mysqld start cannot be enabled.

Mysqld: unrecognized service is displayed. on the Internet, it is suggested that/etc/rc. d/init. d/mysqld start cannot be used.

Is it an installation problem?

Uninstall mysql and enter yum remove mysql in Terminal

Then reinstall yum install mysql.

Then I found many ways on the Internet and still did not solve the problem.

Very depressing ····

Enter rpm-q mysql under Terminal to query and find that mysql-server is not installed.

Enter yum install mysql-server in Terminal immediately

Install mysql server, and then enter service mysqld restart

The problem is resolved successfully.

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.