Ask Your Question
0

How to install mysql 5.6 on fedora 27 via rpm

asked 2018-01-03 08:29:03 -0500

paleu gravatar image

Am trying to install mysql 5.6 on fedora 27. I need 5.6 or 5.5 specifically to run openmrs. I've followed the tutorial at https://dev.mysql.com/doc/refman/5.6/... . However, for some reason after adding the yum repository i cannot select the 5.6 release. It's just not available. Wondering if anyone has succeeded or if there is another way. Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-01-03 13:35:57 -0500

florian gravatar image

updated 2018-01-03 14:09:27 -0500

Better follow instructions here: https://www.if-not-true-then-false.co...

The instructions you are linking, are targeted more for RHEL/CentOS/Oracle Linux. For Fedora you will have to add another repository, as well as make use of dnf instead of yum.

Adding the repo: dnf install https://dev.mysql.com/get/mysql57-community-release-fc27-10.noarch.rpm

Install mysql 5.7: dnf install mysql-community-server

That's it.

edit flag offensive delete link more

Comments

community-mysql version 5.7.20-1.fc27 is provided in the fedora repositories as well. However, version 5.6 was required.

villykruse gravatar imagevillykruse ( 2018-01-03 15:09:50 -0500 )edit

I got the instructions from paleu (above) to work on fedora 27. Now I need to figure out how to start the server (assuming it really is installed properly). I also want to figure out how to auto-start the server. I would also like to added to the GUI as an available app. (/usr/share/applications) ???

tennisnutdave gravatar imagetennisnutdave ( 2018-02-18 04:26:53 -0500 )edit
0

answered 2018-02-11 09:34:32 -0500

bbo gravatar image

Hi,

Note that the MySQL YUM repository guide does say that

Not all versions of MySQL are supported on all these Linux distributions. See Selecting a Release Series on how to determine if your Linux distrituion supports a particular version.

Checking the repository shows that F24 is the last support release for MySQL 5.6.

To workaround that problem, you could use Vagrant to install MySQL 5.6 in a CentOS 7 box. You can check this blog post to have some idea about what configure (and how) to be able to connect your application from the host.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-01-03 08:15:42 -0500

Seen: 1,347 times

Last updated: Jan 03 '18