MySQL 5.7 on SuSE 15

While people should be using MySQL 8.0, which is straight forward, what if you have a requirement to install the still supported 5.7 on SuSE 15? It requires a little more effort, but the following guide should make it a lot easier. This is based on a bare bone, minimal installation of SuSE so if you choose otherwise, you may not need to enable both repositories.

First download the following package from Oracle: mysql-5.7.27-1.sles12.x86_64.rpm-bundle.tar (I know it says sles12, but there is no 5.7 official package for sles15)

Secondly enable the following repositories:

  • SUSEConnect –product sle-module-basesystem/15.1/x86_64
  • SUSEConnect –product sle-module-legacy/15.1/x86_64 

Once this is complete install the following packages:

  • zypper install libatomic1 libnuma1 libnuma-devel libncurses5 perl-JSON libXtst6 libXtst-devel libXrender1 libasound2

At this point you will now be able to install the MySQL 5.7 RPM’s without issue!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s