0

When I tried to start mariadb, I got:

[root]# systemctl start mariadb
Failed to start mariadb.service: Unit not found.

And I also got this message:

Package 1:mariadb-5.5.56-2.el7.x86_64 is obsoleted by mysql-community-client-5.6.39-2.el7.x86_64 which is already installed

What should I do next?

2
  • try systemctl start mysql Commented Apr 17, 2018 at 5:07
  • 1
    Please demonstrate in the question that the unproven assumption in its title, that you have MariaDB installed and this is a problem starting it, is actually correct. Commented Apr 17, 2018 at 7:38

1 Answer 1

-1

The mariadb service is called mysqld.

Try systemctl start mysqld

Edit: and even if you have mysql installed instead this solution will still work :)

2
  • No it is not. Read the doco. It is called mariadb and the questioner was getting this part right. Do you see why I want the questioner to demonstrate that MariaDB is actually installed in the first place, now? Commented Apr 18, 2018 at 6:20
  • Yes it is. I've been running it for years. Maybe not in all cases but certainly in many. i.imgur.com/XYmSmFt.png Commented Apr 21, 2018 at 15:25

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.