[horde] Trouble getting MySQL and prefs working

Michael J. Pelletier mjpelletier at mjpelletier.com
Sun Dec 14 21:24:01 PST 2003


Hello,

No matter what I do I can not get Horde and MySQL working nicely. Everything
worked great in the older version but in the HEAD version, it does not want
to work. The only why I can get things to work is to set prefs to "session".
If I set prefs to "mysql" I get error about not connecting correctly. Here
is a example error:

I used the horde/scripts/db/mysql_create.sql to create the tables. I see the
tables everything is there. The passwords are the same. What is going on?


Michael
A fatal error has occurred
DB Error: connect failed
[line 444 of /usr/local/HTTPS/horde_beta/lib/Prefs/sql.php]

Details (also in Horde's logfile):

object(db_error)(8) {
  ["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 at localhost' (Using
password: YES)] ** Array"
  ["backtrace"]=>
  array(13) {
    [0]=>
    array(6) {
      ["file"]=>
      string(37) "/usr/local/Servers/PHP/lib/php/DB.php"
      ["line"]=>
      int(642)
      ["function"]=>
      string(10) "pear_error"
      ["class"]=>
      string(8) "db_error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        string(24) "DB Error: connect failed"
        [1]=>
        int(-24)
        [2]=>
        int(1)
        [3]=>
        int(1024)
        [4]=>
        string(77) " [nativecode=Access denied for user: 'horde at localhost'
(Using password: YES)]"




More information about the horde mailing list