Centos7 cannot start the problem after mariaDB is installed using yum. centos7mariadb

Source: Internet
Author: User

Centos7 cannot start the problem after mariaDB is installed using yum. centos7mariadb

Centos7's built-in MySQL image has abandoned Oracle's MySQL. Instead, use the MySQL Branch database mariaDB and install mariadb as follows:

[Plain] view plain copy

Yum install mariadb

Run the systemctl start mariadb command, and the prompt is as follows:

[Plain] view plain copy

Failed to start mariadb. service: Unit mariadb. service failed to load: No such file or directory indicates that mariadb cannot be found. The installation of mariadb is not complete. Run the following command to check the dependency of mariadb:

[Html] view plain copy

$ Sudo yum search mariadb:

Run the following to install the missing dependency package:

[Plain] view plain copy

$ Yum install mariadb-embedded mariadb-libs mariadb-sever and then start mariadb. Normal. If you want to set the Automatic startup of mariadb, run the following command:

[Plain] view plain copy

$ Systemctl enable mariadb

To install mysql using the yum install command, add "*" and run the following command:

[Plain] view plain copy

Yum install mariadb *

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.