yum install mysql-server - no package available

I am trying to install mysql. I ran the following with no packages found. Ideas?

[root@localhost home]# yum install mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
No package mysql-server available.
Error: Nothing to do
[root@localhost home]#

4 Replies

CentOS 7? I don't think mysql is available. There's the opensource eqivalent mariadb instead (at least that's what I've read).

Yes, CentOS 7! I read the details of MariaDB - a fork of MySQL. It appears you can still install MySQL community edition manually, http://sharadchhetri.com/2014/07/31/how … -7-rhel-7/">http://sharadchhetri.com/2014/07/31/how-to-install-mysql-server-5-6-on-centos-7-rhel-7/

Thanks for giving me the tip. Hope this helps someone else…

I just installed a CentOS 7 linode. MariaDB is a drop in replacement for mysql. I have found that all the commands and operations are compatible.

Jeff

What fos said - MariaDB should "just work" and is supported for the entire CentOS lifecycle. If for some reason you specifically need MySQL, Red Hat's software collections contains MySQL 5.5 and can be used on CentOS.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct