If you are getting below error message while login into to Roundcube.

DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator. Do the below steps:-

[root@mail~]# mysql -e “drop database roundcube”;
[root@mail ~]# /usr/local/cpanel/bin/update-roundcube –force