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.

closed as off-topic by HopelessN00b Mar 20 '15 at 14:09

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.


Installing the packages below:

apt-get install dovecot-mysql  
apt-get install libclass-dbi-mysql-perl

I also reinstalled

apt-get install php-auth
apt-get install php-pear
apt-get install postfix-mysql

You might find that these last three are already installed by libclass-dbi-mysql-perl but on my test server I had to manually install them.

Everything is now working fine. :)

Not the answer you're looking for? Browse other questions tagged or ask your own question.