Roundcube Community Forum

 

No Database Connection

Started by sunghost, May 04, 2012, 05:35:41 AM

Previous topic - Next topic

sunghost

Hello,
i used the 0.5.0 Version with suhosin.encryption Problem, so that i cant used it for month. Now i want to solve the Problem, deactivated the encryption in suhosin, but after that i get a Database Connection Error Message. I checked the user and pass and all is ok, therefor i upgraded to last stable 0.7.2 version and get the same error. where could be the problem? php is actual stable release, all other is fine, http, imap ..

SKaero

So with suhosin.session.encrypt on the database connection works but not with it off? Is there a more detailed error message in the RoundCube logs?

sunghost

Log Message:
Quote
MDB2 Error: connect failed (-24): _doConnect: [Error message: Access denied for user

sunghost

hello,
no with suhosin encrypt on i get the suhosin error message, thats why i deactivated it in suhosin.ini. mysql privileges are correct

SKaero

When you go to install RoundCube does it say MySQL is available?

sunghost

Quote
Checking PHP version
Version:  OK(PHP 5.3.3-7+squeeze8 detected)
Checking PHP extensions

The following modules/extensions are required to run Roundcube:
PCRE:  OK
DOM:  OK
Session:  OK
XML:  OK
JSON:  OK

The next couple of extensions are optional and recommended to get the best performance:
FileInfo:  OK
Libiconv:  OK
Multibyte:  OK
OpenSSL:  OK
Mcrypt:  OK
Intl:  NOT AVAILABLE(See http://www.php.net/manual/en/book.intl.php)

Checking available databases

Check which of the supported extensions are installed. At least one of them is required.
MySQL:  OK
MySQLi:  OK
PostgreSQL:  NOT AVAILABLE(Not installed)
SQLite (v2):  NOT AVAILABLE(Not installed)

Check for required 3rd party libs

This also checks if the include path is set correctly.
PEAR:  OK
MDB2:  OK
Net_SMTP:  OK
Net_IDNA2:  OK
Mail_mime:  OK

Checking php.ini/.htaccess settings

The following settings are required to run Roundcube:
file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK

The following settings are optional and recommended:
date.timezone:  NOT OK(Could be set)

PS: where is the autonotification for new posts?

SKaero

Have you tried using MySQLi instead of MySQL? Did you verify that you have the database user full access to the database?

Quote from: sunghost on May 04, 2012, 08:26:18 AM
PS: where is the autonotification for new posts?
Click on "Attachments and other options" under the post box and check the first option (Notify me of replies)

sunghost

Changed to mysqli, but no effect. Yes the user has all privileges, but not grant.

Notification: sorry overseen

sunghost

sorry for the confusion, but now i reenter the password, instead of taking the old one by script, and all is fine. Many thx for your fast support