They’re Here: Official MySQL Repos for Debian and Ubuntu

As we’ve hinted at for some time now, we have been busy preparing some good stuff for our Debian and Ubuntu users. And today we’re delighted to launch our own official MySQL apt repos for Debian and Ubuntu.

After working closely with the Debian and Ubuntu communities to make sure that the native MySQL packages in those distros work really well, we have now taken all the valuable knowledge and experience gained from that work and applied it to our own official packages.

We have support for Debian 7 and Ubuntu 12.04 and 14.04, and we initially offer MySQL Server 5.6 plus the latest 5.7 development milestone release. 5.6 is what we recommend for production use, while milestone releases are for those who want a taste of the absolutely latest. We will be adding more products in the near future.

So why are we doing this?

First and foremost, we want to provide officially supported, very high quality MySQL packages that integrate well with the distros, from easy-to-use repos that will always contain the latest and greatest; while distros typically choose one specific version of MySQL to include, we can offer several different versions, including development releases, from our repos. We think this is a nice complement to the good MySQL stuff that ships natively with the distros.

Second, running our own repos keeps us better hooked into what the community, and especially the different Linux distros, want and need from us. As part of our apt repo work, we’ve seen how we need to improve important stuff such as our startup scripts and config file handling in order to make life easier both for ourselves and for the Linux distro package maintainers. Going forward, we will continue to listen closely to what our users and our friends in the distros tell us, so that whether or not you use the native distro packages or our official repos, you will have a good and smooth experience.

What took us so long?

Well, learning takes time, and we wanted to begin by giving the distros full attention before we started work on our own stuff. And this is indeed complex stuff, with a huge matrix of possible migration paths and upgrades from distro packages, other vendors’ packages and our own old debs, all in multiple possible configurations, versions and editions.

When we put the “official” stamp on something it means that we have put a lot of time and effort into design and implementation and not least testing in order to make sure that things work as expected and that users have as smooth an experience as possible (there is a good blog posting on some of this over on the MySQL Server Team blog). We’ll hopefully at some point have a blog posting telling the story of how we translated that huge matrix into actual testing, but take my word for it: QA has been burning the midnight oil on this project.

Finally, while starting to use our repo will be very straightforward for probably 90% of our users, we have put together in-depth documentation that covers those few cases where the move requires a bit more care.

Want to get started?

Head over to the APT repo download page to get the setup package, install instructions and pointers to more in-depth docs.

There are a few minor limitations in these initial packages, where a tiny handful of distro native applications are incompatible with our repo packages. The docs have more details on this. We believe that this will affect very few users, but we will look at fixes for later revisions.

What’s next?

Over time, we will add more products to our repos and we will continue to improve the user experience. We will also continue to work closely with the Debian and Ubuntu maintainers and communities to make sure that we are doing the right things and that the native distro packages get even better in the future.

And finally, nothing in this world is perfect: if you have comments or suggestions for improvements, please let us know in a comment here, or if you run into issues using our packages and repos, please take the time to submit a bug report.

Yngve Svendsen

About Yngve Svendsen

Yngve Svendsen has been part of the MySQL organization since 2008. Based in Trondheim, Norway, he is Senior Director of MySQL Engineering Services and responsible for Release Engineering, QA and development lab IT services for the MySQL org at Oracle. Back in the mists of time he majored in mathematics before the dot com wave swept him into the devops field, first at the database startup company Clustra Inc. and then for Sun Microsystems. In 2005 he joined the Dark Side by becoming a manager in Sun's Database Group which was merged into the MySQL org when Sun acquired MySQL in 2008.

19 thoughts on “They’re Here: Official MySQL Repos for Debian and Ubuntu

  1. No Debian 8? Just as many people were using wheezy long before it was declared stable, I believe a lot of folks are already using jessie. I am typing this on a jessie machine right now; it’s terrific!

  2. I know that is a late message, but do you know if there is a way to bypass the installation of the .deb file? I like to do configure all my servers via ansible, and the .deb installation triggers a user input…
    So far I was able to add the repo manually in /etc/apt/sources.list.d/ but I can’t have them working without the signing key, could you by any chance tell where that one is located?

    1. Hi Herbert,

      It is indeed exciting to know that you are blending MySQL repos with Ansible. For now, in case you are having trouble getting access to the the signing key then you can get them from the MySQL Reference Manual.

      If this does not help you with your current problem or if you need more information on how to manually enable MySQL APT repositories within your IT infrastructure please do log a bug at to enable easier bi-directional dialouge with us. It will help other users to find information on related matters and also help us improve the documentation related to manual installation of MySQL repositories.

      And we would really like to hear more from you about your experience on using MySQL repositories with Ansible, since this is bound to be a pretty common use case.

  3. Can these be updated to Debian 8.0 Jessie which has its packages stabalized. Tons of folks are already using this and it is in its final freeze and release candidate state.

    1. Hi, Michael. Our #1 priority for Jessie right now is to work as part of the Debian maintainer team to make sure that the distro native MySQL packages are as good as they can possibly be. In parallel with that, we are working on our own repo packages, and we do expect to be ready with those when Jessie gets released, we just have to make absolutely sure that we don’t miss the boat with the native packages.

      1. Any update on the Jessie (Debian 8) packages for MySQL 5.6/5.7?

        Still stuck at Debian Linux 7 or with MySQL 5.5…

        Looking forward to the upgrade!

        1. Hi, Michael. Debian 8 packages are imminent — we had a couple of small dependency issues popping up in the final QA cycle, but those seem to have been resolved now.

  4. Is anybody using the current MySQL release on a Debian 8 production server? Any issues there? I would like to switch but I’m not sure yet…

    1. Hi, Peter. People in the community will hopefully also weigh in here, but what I can say from our (MySQL’s) side is that we have so far seen very few Debian 8 specific bug reports, and those few that have come in have had low severity. Debian 8 is integrated in our extensive QA regime, and we are not seeing anything there either that would indicate any issues specific to that platform.

Comments are closed.