Control Web Panel
WebPanel => E-Mail => Topic started by: Heartneto on February 13, 2015, 06:05:48 PM
-
Hello!
I'm new in CentOS Web Panel and i need your help.
cwp version 0.9.8
mysql version 5.1
php version 5.4(recommended)
CentOS 6.6 final x86_64
As it was mentioned, my Roundcube can't connect to the database.
I've add a new user account and would test it but when i want to check it, Roundcube occured an error
Regards,
-
ssh root
cd /usr/local/apache/htdocs/roundcube/config/
nano db.inc.php
$rcmail_config['db_dsnw'] = 'mysqli://roundcube:password@localhost/roundcube';
change
$rcmail_config['db_dsnw'] = 'mysql://roundcube:password@localhost/roundcube';
mysqli change mysql :)
-
thanks man it's work
:D
-
Hi
I'm a nubie also and I got the same error message but I'm not understanding the commands listed above.
can someone break it down a little lower in a step by step format please.I'm running centos 6
-
this are not commands, you need to edit file and make replacement.
What kind of changes have you done that you have this errors ?
-
Hi
i have update my CWP and my webmail stopped working, saying
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
it was accessible through https://www.domain.com/webmail but it is giving above error with this URL
Roundcube is acessible with IP:2030/roundcube but i want to access it with domain/webmail again
kindly help in that
MySQL version: 10.1.19-MariaDB
CWP version: 0.9.8.339
Apache version: Apache/2.2.31
Thanks
-
Resolved the issue by changing the roundcube pwd and updating in config.inc file