Author Topic: DATABASE ERROR: CONNECTION FAILED  (Read 2473 times)

Offline BigAl

  • Newbie
  • *
  • Posts: 2
DATABASE ERROR: CONNECTION FAILED
« 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.

Offline BigAl

  • Newbie
  • *
  • Posts: 2
Re: DATABASE ERROR: CONNECTION FAILED
« Reply #1 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:password@mysql19.quadrahosting.com.au/warrior_email';

Is there something I'm missing?

TIA




Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: DATABASE ERROR: CONNECTION FAILED
« Reply #2 on: February 16, 2015, 12:47:52 AM »
Ask your host to check the details and make sure there correct.