Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install Mysql 5.7 on Raspberry Pi 2 with Raspbian Jessie. When I execute the command apt-get install mysql-server, it installs version 5.5.

What do I need to do?


I did every step in @Sapher answer, but didn't work.

Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 20.2 kB in 12s (1,596 B/s)
W: Failed to fetch http://repo.mysql.com/apt/debian/dists/jessie/InRelease
Unable to find expected entry 'mysql-apt-config/binary-armhf/Packages' in       
Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones      
used instead.
root@raspberrypi:~#  apt-get install mysql-server-5.7 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-server-5.7
E: Couldn't find any package by regex 'mysql-server-5.7'
share|improve this question
You will likely need to compile from source to get the bleeding edge. – Steve Robillard Feb 29 at 11:55
maybe can test teh command: sudo apt-get install mysql-community-server_5.7 -y – daniele May 19 at 14:34
@SteveRobillard: or use Arch – Jacobm001 May 19 at 16:40
My Bad, I'm sorry. I did delete that wrong answer – Sapher May 20 at 4:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.