Roundcube Mail Can't Connect to MYSQL Database
Have installed the Roundcube package for OpenBSD 4.3 and get the following when I go to its url.
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator
The database and its tables are setup and can log in locally from console with username and password specified in db.inc.php
$rcmail_config['db_dsnw'] = 'mysql://roundcube:MYPASS@localhost/roundcubemail';
Note: Imp is running fine using tcp port to connect to mysql server.
Last edited by jrs665; 17th November 2008 at 03:48 PM.
I don't use roundcube, so this is only a guess ....
You are attempting to connect to the database via a filesystem socket, rather than a TCP connection, and you are using the built-in apache in default chrooted mode.
It's only a guess, of course.
To confirm if chrooted apache with your DB configuration is the problem, stop apache and restart it with -u, per FAQ 10.16. If things suddenly work, you'll know you need to either use TCP or move your filesystem socket inside /var/www.
Last edited by jggimi; 17th November 2008 at 03:57 PM. Reason: confirmation test
|Thread||Thread Starter||Forum||Replies||Last Post|
|Read Excel Data and store into Mysql Database using PHP||cksraj||Programming||2||3rd June 2009 12:09 PM|
|PHP database interfaces||TerryP||Programming||6||11th September 2008 01:03 PM|
|Slocate database coverage||ivanatora||FreeBSD General||2||4th August 2008 08:51 AM|
|Changing encoding of text in MySQL database||stukov||Programming||5||15th July 2008 09:48 PM|
|WARNING: Vulnerability database out of date, checking anyway||mfaridi||FreeBSD Security||9||8th May 2008 06:13 AM|