NethServer Version: 7.3.1611
Module: roundcube
Hi, yesterday I try the mail server with roundcube, but when I try to access to roundcube, the web page responde with Databse error: connection failed! Unable to connect to the databade.
Can any one lead me step by step to I can make this work? I’ll be really gratefull
dnutan
(Marc)
December 25, 2016, 11:33am
2
Maybe the mysqld service failed to start. Can you check if it’s running?
2 Likes
Yes, it’s running. Even I creat manually the database 'cause it wasn’t exist. But, I don’t know how to configure to connect or what should I do
Hunv
(Kristian Reukauff)
December 29, 2016, 6:06pm
4
Is it a new installation or did this happened on an existing environment?
alefattorini
(Alessio Fattorini)
December 30, 2016, 10:39am
5
Try with:
mysql -e "drop database roundcubemail"
/etc/e-smith/events/nethserver-roundcubemail-update/S20nethserver-roundcubemail-conf
1 Like
It’s on a new Installation, all fresh
Ok, let me try it, then I’ll reply you again
Thank you to all of you. A few hours ago, I finally make it work. On the config.inc.php file of roundcube, I edit this line:
$config[‘db_dsnw’] = ‘mysql://“user”:“password”@localhost /roundcubemail’;
And it was able to connect to database. Cheers!
dnutan
(Marc)
December 30, 2016, 10:39pm
9
Note that file is templated and your changes may be lost after an update.
The logs might give some clues about what gone wrong with the installation.