Roundcube doesn't work, and can't connect to database

Aar

Verified User
Joined
Feb 10, 2005
Messages
210
Location
Netherlands
Hello,

Recently, i have updated Roundcube with the custombuild by running ./build roundcube
First i have 0.8x and the last version is 1.0.1.

After the upgrading, Roundcube doesn't work, and gives the error he can't find the config-file.
I have removed the .sample-suffix, an then the config is found. But i have still the error:
Unable to connect to the database!
Please contact your server-administrator.

In the config i see this:
Code:
$config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';

Where can i find the correct MySQL-login?

This also don't works:
http://help.directadmin.com/item.php?id=206
 
Last edited:
Hello, i've resolved this by fix the config with the correct login of the da_admin mysql-user.
But thanks :)
 
Hello,

You'd better not use da_admin in Roundcube to connect to MySQL. That's insecure. You already should have user da_roundcube, just use it with a new password.
 
I must login as da_admin and change the password of the da_roundcube user with this?

SET PASSWORD FOR 'da_roundcube'@'localhost' = PASSWORD('mytopsecretpassword');
FLUSH PRIVILEGES;
 
Back
Top