Roundcube Community Forum

Release Support => Pending Issues => Topic started by: sunghost on May 04, 2012, 05:35:41 AM

Title: No Database Connection
Post by: sunghost on May 04, 2012, 05:35:41 AM
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 ..
Title: Re: No Database Connection
Post by: SKaero on May 04, 2012, 06:04:07 AM
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?
Title: Re: No Database Connection
Post by: sunghost on May 04, 2012, 06:15:14 AM
Log Message:
Quote
MDB2 Error: connect failed (-24): _doConnect: [Error message: Access denied for user
Title: Re: No Database Connection
Post by: sunghost on May 04, 2012, 06:28:58 AM
hello,
no with suhosin encrypt on i get the suhosin error message, thats why i deactivated it in suhosin.ini. mysql privileges are correct
Title: Re: No Database Connection
Post by: SKaero on May 04, 2012, 06:48:24 AM
When you go to install RoundCube does it say MySQL is available?
Title: Re: No Database Connection
Post by: sunghost on May 04, 2012, 08:26:18 AM
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?
Title: Re: No Database Connection
Post by: SKaero on May 04, 2012, 08:45:51 AM
Have you tried using MySQLi instead of MySQL? Did you verify that you have the database user full access to the database?

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)
Title: Re: No Database Connection
Post by: sunghost on May 04, 2012, 09:06:15 AM
Changed to mysqli, but no effect. Yes the user has all privileges, but not grant.

Notification: sorry overseen
Title: Re: No Database Connection
Post by: sunghost on May 04, 2012, 10:23:58 AM
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