I've just updated my database engine to MariaDB (5.5.40-MariaDB-0ubuntu0.14.04.1 - (Ubuntu)). Everything else (Apache2 :80, :443, phpMyAdmin, Webmin, etc.) but Dovecot is working.
I'm not quite sure which package needs to be installed to replace the /usr/lib/dovecot shared libraries that enable Dovecot to talk to MariaDB. Mysql used to use libdriver_mysql.so, and a couple others.
Anyone able to advise?
I removed MySQL using
apt-get remove --purge mysql-server mysql-client mysql-common apt-get autoremove apt-get autoclean
These commands also removed PHPMYADMIN and MYSQLI. So when I installed MariaDB, I included the following packages:
apt-get install mariadb-server mariadb-client libmariadbclient-dev libmariadbd-dev phpmyadmin
You might not require the
dev packages, but I installed them anyway.
To get phpMyAdmin working again on SSL only, I had to reconfigure etc/phpmyadmin/apache.conf to include the http=>https rewrite.