3

On an up to date stretch, I want to install libmysqlclient-dev libmysqld-dev, but apt tells me it was not available in my sources.

/etc/opt/sources.list looks like this:

deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
 deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
 deb https://download.webmin.com/download/repository sarge contrib
 deb-src http://raspbian.raspberrypi.org/raspbian/ jessie main contrib non-free rpi
 deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

I wonder what could be wrong?

Jan
  • 175
  • 2
  • 9

1 Answers1

5

Debian Stretch changed libmysqlclient-dev to libmariadbclient-dev.

MariaDB is a fork of MySQL that's more friendly in the open source world. It's compatible as a drop-in replacement, although you might find the setup steps have changed. It's covered in this guide to installing WordPress on a Raspberry Pi.

ben_nuttall
  • 2,471
  • 14
  • 15