Koozali.org: home of the SME Server

webmail "access denied"

Allan Bergmann Jensen

webmail "access denied"
« on: April 22, 2003, 11:44:38 PM »
When I try to connect to webmail on my 5.6 e-smith server I get the following error:

A fatal error has occurred
object(db_error)(7) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-24)
  ["message"]=>
  string(24) "DB Error: connect failed"
  ["userinfo"]=>
  string(86) " [nativecode=Access denied for user: 'horde@localhost' (Using password: YES)] ** Array"
  ["callback"]=>
  NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]
---------
Can anybody help?
Allan

Dan Brown

Re: webmail "access denied"
« Reply #1 on: April 23, 2003, 12:07:13 AM »
Well, either you've done something custom with the webmail system, or you've probably changed something with mysql.  Have you modified your system from stock in any way?

Allan Bergmann Jensen

Re: webmail "access denied"
« Reply #2 on: April 23, 2003, 12:18:56 AM »
Yes Dan, I have changed the MySql root password - could it be the reason for my problem, and can it be solved in any way?
Allan

Bill Talcott

Re: webmail "access denied"
« Reply #3 on: April 23, 2003, 12:27:24 AM »
Allan Bergmann Jensen wrote:
>
> Yes Dan, I have changed the MySql root password - could it be
> the reason for my problem, and can it be solved in any way?
> Allan

http://www.familybrown.org/howtos/mysql-password-howto.html

Allan Bergmann Jensen

Re: webmail "access denied"
« Reply #4 on: April 23, 2003, 06:06:09 PM »
Thank you,
The problem is solved with use of Dan Browns howto.

Rob Shiras

Re: webmail "access denied"
« Reply #5 on: May 20, 2003, 09:36:24 PM »
Well, that did not do it for me.  I have a very similar problem.  I think I caused it by copying all my database files from my old server to my new one when I upgraded.
Here is the message I get when I try to access webmail.  It is similar, but with a different error code:
A fatal error has occurred
object(db_error)(7) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-24)
  ["message"]=>
  string(24) "DB Error: connect failed"
  ["userinfo"]=>
  string(86) " [nativecode=Access denied for user: 'horde@localhost' (Using password: YES)] ** Array"
  ["callback"]=>
  NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]

And resetting the root password for mysql doesn't solve my problem.