On a freshly deployed CentOS-based Virtuamin server with PHP 5.6.5 Roundcube doesn't want to install giving:
DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator.
Checking the database connection on config/config.inc.php file in Roundcube's root shows correct access details. Everything is alright with database user permissions.