View previous topic :: View next topic |
Author |
Message |
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Tue Oct 11, 2011 6:19 pm Post subject: roncube webmail error |
|
|
Hi!
After install rouncube i have this error:
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
In log is this problem:
[11-Oct-2011 19:12:43 +0300]: DB Error: _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[Native code: 1045]
[Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
** mysql(mysql)://roundcube:xxx@localhost/roundcubemail in /var/www/htdocs/roundcubemail-0.6/program/include/rcube_mdb2.php on line 102 (GET /webmail2/)
[11-Oct-2011 19:12:43] MDB2 Error: connect failed (-24): _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[Native code: 1045]
[Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[11-Oct-2011 19:12:43 +0300]: DB Error: _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[Native code: 1045]
[Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
** mysql(mysql)://roundcube:xxx@localhost/roundcubemail in /var/www/htdocs/roundcubemail-0.6/program/include/rcube_mdb2.php on line 102 (GET /webmail2/)
[11-Oct-2011 19:12:44] MDB2 Error: connect failed (-24): _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[Native code: 1045]
[Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)] |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Oct 11, 2011 6:23 pm Post subject: |
|
|
Did you upgrade the package...?
If yes, then move your conf files
db.inc.php
main.inc.php
from
/var/www/htdocs/roundcubemail-0.5.1/config
to
/var/www/htdcocs/roundcubemail-0.6/config/
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Tue Oct 11, 2011 6:29 pm Post subject: |
|
|
1 istall |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Oct 11, 2011 7:04 pm Post subject: |
|
|
You found a bug
Just manual grant permissions to user roundcube user by typing
mysql -u root (if you have a password add '-p')
and at mysql prompt type
Code: | mysql> GRANT all on roundcubemail.* to roundcube@localhost identified by 'yourpassword'; |
Where yourpassword is the password you choose upon installing the package.
I 'll upload the fixed package later...
Thanks for the bug report...
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Tue Oct 11, 2011 9:34 pm Post subject: |
|
|
hehe ) |
|
Back to top |
|
|