Roundcube Community Forum

 

"DATABASE ERROR: CONNECTION FAILED!" after PHP 7 upgrade

Started by poncho, February 01, 2016, 10:16:50 AM

Previous topic - Next topic

poncho

Hi,

I just upgraded from PHP 5.6 to PHP 7. Now RCM shows me this in the browser:

QuoteDATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

The error log says:

Quote[01-Feb-2016 15:12:09 +0000]: <96imeqv4> DB Error: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client in /var/www/mail/program/lib/Roundcube/rcube_db.php on line 177 (GET /)
[01-Feb-2016 15:12:09 +0000]: <96imeqv4> DB Error: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (GET /)

Other apps are working like before (phpMyAdmin, Wordpress and self made apps).

Whats wrong with RCM and PHP 7?

SKaero

You will need to upgrade to Roundcube 1.2 beta in order to use PHP 7 with Roundcube.