Centos 7, MySQL cannot start and is not running, but can be accessed and can't be uninstalled?

Posted December 10, 2017 2.7k views

I recently restarted a server that I’ve inherited (and therefore didn’t set up). Before the restart the webpages were accessing their SQL databases just fine — through MariaDB to a remote server. On the restart, they can no longer access their databases and the problem seems to be that MySQL/MariaDB isn’t running.

‘yum systemctl start mariadb’ brings up the error “Failed to start mariadb.service: Unit not found.” Strangely enough, I can still access the mysql shell with 'mysql -u <user> -p’ and commands in the shell seem to work just fine — but my webpages can’t access the databases.

When I try to uninstall and reinstall I get the error:

maraidb101u-common conflicts with 1:mariadb-libs-5.5.56-2el7.x8664
maraidb101u-config conflicts with 1:mariadb-libs-5.5.56-2el7.x86
maraidb101u-libs conflicts with 1:mariadb-libs-5.5.56-2el7.x86_64

I can’t make a backup with mysqldump either, so I’m trying to tread carefully. Does anyone have any idea of what can be done to troubleshoot this?

0 answers
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!