view raw
goredwards goredwards - 1 year ago 130
PHP Question

which mysql yum repo for mysql 5.6 on EC2 Amazon Linux AMI release 2013.09

we have an EC2 instance running the following

  • Linux - Amazon Linux AMI release 2013.09,

  • Apache 2.4.6

  • php 5.4.23

I need to install MySQL 5.6 but am getting confused with all the Yum repos available at

  • Red Hat Enterprise Linux 5 / Oracle Linux 5 (Architecture Independent), RPM Package

  • Red Hat Enterprise Linux 6 / Oracle Linux 6 (Architecture Independent), RPM Package

  • Fedora 18, 19, 20

when i run the following shell command

cat /proc/version

it gives me

Linux version 3.4.73-64.112.amzn1.x86_64 (mockbuild@gobi-build-31003) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) )

so... RHEL 4 !?

If i was to take an educated guess based on would be the RHEL 6 repo, right ?


tried the RHEL 6 repo and it worked fine.

to get the system info on Amazon Linux AMI try:
cat /etc/os-release

which should give you something simlar to:

NAME="Amazon Linux AMI"
ID_LIKE="rhel fedora"
PRETTY_NAME="Amazon Linux AMI 2016.03"

Note the ID_LIKE="rhel fedora" which seems to indicate that RHEL should work fine.

In addition, apparently AMI is based on RHEL (yes that doesn't help with the version):

For installation instructions see: