Roundcube Community Forum

Release Support => Pending Issues => Topic started by: BigAl on February 15, 2015, 06:43:47 PM

Title: DATABASE ERROR: CONNECTION FAILED
Post by: BigAl on February 15, 2015, 06:43:47 PM
Hi,

I just did an auto install using Softaculous which appeared to install successfully. MySQL database and tables seem to be present and accessible however when trying to access the mail page via web-browser I get the message that connection failed. I gather config.inc.php has the settings required for login? And the section $config['db_dsnw'] is where it gives the login and password details? I can't confirm the password as it looks to have been hashed, so what would be the best approach from here to decipher why it might not be working?

Thanks in advance.
Title: Re: DATABASE ERROR: CONNECTION FAILED
Post by: BigAl on February 16, 2015, 12:42:14 AM
I just uninstalled and re-installed and I take it back about the password, it does not seem to be encrypted, so the password shown in config.inc.php is the same as what is physically set but I am still getting the 'Connection Failed' error.  Here is the line in the config file (minus the real password):

$config['db_dsnw'] = 'mysql://warrior_email:[email protected]/warrior_email';

Is there something I'm missing?

TIA



Title: Re: DATABASE ERROR: CONNECTION FAILED
Post by: SKaero on February 16, 2015, 12:47:52 AM
Ask your host to check the details and make sure there correct.