Author Topic: Unable to connect to the database!  (Read 6575 times)

mess-mate

  • Guest
Unable to connect to the database!
« on: July 05, 2007, 02:53:49 AM »
Hi, i'm new to roundcube and after installing it can't connect to the database.
'Unable to connect to the database!' Mysql.
Could you put me on the ricght way ?
best regards

Offline Delta-9

  • Jr. Member
  • **
  • Posts: 35
Re: Unable to connect to the database!
« Reply #1 on: July 05, 2007, 08:56:33 AM »
Look at the error log, its in the "log" directory.

You can also turn up the debugging/logging level by changing this

// system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
$rcmail_config['debug_level'] = 1;

in the config/main.inc.php  file.

This will give you a little more information about the problem

Offline Iron Mountain

  • Newbie
  • *
  • Posts: 6
Re: Unable to connect to the database!
« Reply #2 on: July 08, 2007, 02:43:57 PM »
We had a similar issue regarding the can't connect database.

1) We checked the database connection in the config file. It was fine.

2) Then we realized, we didn't have php-mySQL installed :) Installed it and it worked fine.
Iron Mountain Solar Powered Hosting with RoundCube
http://www.imountain.com

mess-mate

  • Guest
Re: Unable to connect to the database!
« Reply #3 on: July 09, 2007, 04:07:22 AM »
Thanks Delta-9, had to change the password to 'password' as explained in the INSTALL file and not 'pass' as in main.inc.php.