Roundcube database error

  Uncategorized, WHM

Introduction

If you encounter the DATABASE ERROR: CONNECTION FAILED! while logging into Roundcube, it usually indicates an issue with the Roundcube database connection. This can be resolved by updating the Roundcube installation from the server.


Prerequisites

  • Root SSH access to the server
  • cPanel / WHM environment
  • Basic knowledge of command-line usage

Implementation

Step 1:
Log in to your server via SSH as root


Step 2:
Run the following command:

/usr/local/cpanel/bin/update-roundcube –force


Step 3:
After the process completes, try logging into Roundcube again


Conclusion

By forcing an update of Roundcube, the database connection issue is resolved, allowing you to log in successfully.

LEAVE A COMMENT