Ask Your Question

Installing MySQL on Fedora 25

asked 2017-02-19 00:15:50 -0500

VanD gravatar image

updated 2017-02-19 03:26:58 -0500

hhlp gravatar image
[root@localhost ~]# dnf install
Last metadata expiration check: 5:17:47 ago on Sat Feb 18 17:43:53 2017.
Package mysql57-community-release-fc25-9.noarch is already installed, skipping.
Dependencies resolved.
Nothing to do.
[root@localhost ~]# dnf install mysql-community-server
Last metadata expiration check: 5:18:19 ago on Sat Feb 18 17:43:53 2017.
No package mysql-community-server available.
Error: Unable to find a match.

I'm having trouble and have searched for hours and am at a loss. I've also checked my /etc/yum.repos.d and there is nothing in that for mysql. I would imagine that is part of my problem but have not found anyway way to fix it. Everything I have seen there is already something there for mysql but I can't find anything about getting it there. I'm a bit of a beginner so that doesn't help either... Any help or ideas would be great!

edit retag flag offensive close merge delete



You can give a try to mariadb, that is a fork of MySQL, and it is already included in the default fedora repository.

alcir gravatar imagealcir ( 2017-02-19 02:22:47 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2017-02-19 05:51:20 -0500

updated 2017-02-19 05:52:25 -0500

Well, you installed the mysql57-community-release-fc25-9.noarch.rpm RPM package with the command

[root@localhost ~]# dnf install

To list the installed RPM packages and to filter for mysql, you could run either of the commands as follows.

rpm -qa | grep mysql


dnf list installed *mysql*

To get a list of the files provided by that package, run

rpm -ql mysql57-community-release


dnf remove mysql57-community-release

to remove the package again. As @alcir already mentioned, you rather should install mariadb packages than using a 3rd party package.

edit flag offensive delete link more

answered 2017-02-19 05:58:38 -0500

beduine gravatar image

You could try to uninstall the mysql57-community-release-fc25-9.noarch package and then install it again.

If the package is installed corretly you should find two files under /etc/yum.repos.d: mysql-community.repo mysql-community-source.repo

edit flag offensive delete link more

answered 2017-10-25 06:48:50 -0500

misharushi gravatar image

updated 2017-10-25 06:57:56 -0500

Install mysql MariaDB

sudo dnf install mariadb mariadb-server

To start MariaDB on Fedora, execute the following command:

systemctl start mariadb.service

To autostart MariaDB on Fedora, execute the following command:

systemctl enable mariadb.service

After you started MariaDB (do this only once), execute the following command:


edit flag offensive delete link more

Question Tools


Asked: 2017-02-19 00:15:50 -0500

Seen: 4,453 times

Last updated: Oct 25 '17