[horde] DB Error: insufficient permissions

Logan Wolverine master.of.universe at gmail.com
Tue Sep 20 03:56:39 PDT 2005


i have just installed horde framework
when i set up tp use mysql DB it gave me the following error

A fatal error has occurred DB Error: insufficient permissions 

[line 1329 of /var/www/html/horde/lib/Horde/DataTree/sql.php]
Details (also in Horde's logfile): 

object(DB_Error)#6 (8) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-26)
  ["message"]=>
  string(34) "DB Error: insufficient permissions"
  ["userinfo"]=>
  string(97) " [nativecode=1044 ** Access denied for user
'horde'@'localhost' to database 'localhost'] ** Array"
  ["backtrace"]=>
  array(17) {
    [0]=>
    array(6) {
      ["file"]=>
      string(22) "/usr/share/pear/DB.php"
      ["line"]=>
      int(888)
      ["function"]=>
      string(10) "PEAR_Error"
      ["class"]=>
      string(8) "DB_Error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        string(34) "DB Error: insufficient permissions"
        [1]=>
        int(-26)
        [2]=>
        int(1)
        [3]=>
        int(1024)
        [4]=>
        string(88) " [nativecode=1044 ** Access denied for user
'horde'@'localhost' to database 'localhost']"
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(24) "/usr/share/pear/PEAR.php"
      ["line"]=>
      int(540)
      ["function"]=>
      string(8) "DB_Error"
      ["class"]=>
      string(8) "DB_Error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(4) {
        [0]=>
        int(-26)
        [1]=>
        int(1)
        [2]=>
        int(1024)
        [3]=>
        string(88) " [nativecode=1044 ** Access denied for user
'horde'@'localhost' to database 'localhost']"
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(29) "/usr/share/pear/DB/common.php"
      ["line"]=>
      int(1849)
      ["function"]=>
      string(10) "raiseError"
      ["class"]=>
      string(8) "DB_mysql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(7) {
        [0]=>
        NULL
        [1]=>
        int(-26)
        [2]=>
        NULL
        [3]=>
        NULL
        [4]=>
        string(88) " [nativecode=1044 ** Access denied for user
'horde'@'localhost' to database 'localhost']"
        [5]=>
        string(8) "DB_Error"
        [6]=>
        bool(true)
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(28) "/usr/share/pear/DB/mysql.php"
      ["line"]=>
      int(894)
      ["function"]=>
      string(10) "raiseError"
      ["class"]=>
      string(8) "DB_mysql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        int(-26)
        [1]=>
        NULL
        [2]=>
        NULL
        [3]=>
        NULL
        [4]=>
        string(74) "1044 ** Access denied for user 'horde'@'localhost'
to database 'localhost'"
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(28) "/usr/share/pear/DB/mysql.php"
      ["line"]=>
      int(259)
      ["function"]=>
      string(15) "mysqlRaiseError"
      ["class"]=>
      string(8) "DB_mysql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(22) "/usr/share/pear/DB.php"
      ["line"]=>
      int(556)
      ["function"]=>
      string(7) "connect"
      ["class"]=>
      string(8) "DB_mysql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        array(15) {
          ["phptype"]=>
          string(5) "mysql"
          ["dbsyntax"]=>
          string(5) "mysql"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(10) "gr at ndTh3ft"
          ["protocol"]=>
          string(3) "tcp"
          ["hostspec"]=>
          string(9) "localhost"
          ["port"]=>
          int(3306)
          ["socket"]=>
          bool(false)
          ["database"]=>
          string(9) "localhost"
          ["persistent"]=>
          bool(false)
          ["charset"]=>
          string(10) "iso-8859-1"
          ["driverconfig"]=>
          string(5) "horde"
          ["group"]=>
          string(11) "horde.perms"
          ["table"]=>
          string(14) "horde_datatree"
          ["table_attributes"]=>
          string(25) "horde_datatree_attributes"
        }
        [1]=>
        bool(false)
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(46) "/var/www/html/horde/lib/Horde/DataTree/sql.php"
      ["line"]=>
      int(1327)
      ["function"]=>
      string(7) "connect"
      ["class"]=>
      string(12) "DataTree_sql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        array(13) {
          ["persistent"]=>
          bool(false)
          ["hostspec"]=>
          string(9) "localhost"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(10) "gr at ndTh3ft"
          ["port"]=>
          int(3306)
          ["protocol"]=>
          string(3) "tcp"
          ["database"]=>
          string(9) "localhost"
          ["charset"]=>
          string(10) "iso-8859-1"
          ["phptype"]=>
          string(5) "mysql"
          ["driverconfig"]=>
          string(5) "horde"
          ["group"]=>
          string(11) "horde.perms"
          ["table"]=>
          string(14) "horde_datatree"
          ["table_attributes"]=>
          string(25) "horde_datatree_attributes"
        }
        [1]=>
        array(1) {
          ["persistent"]=>
          bool(false)
        }
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(46) "/var/www/html/horde/lib/Horde/DataTree/sql.php"
      ["line"]=>
      int(68)
      ["function"]=>
      string(8) "_connect"
      ["class"]=>
      string(12) "DataTree_sql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [8]=>
    array(6) {
      ["file"]=>
      string(42) "/var/www/html/horde/lib/Horde/DataTree.php"
      ["line"]=>
      int(1180)
      ["function"]=>
      string(12) "DataTree_sql"
      ["class"]=>
      string(12) "DataTree_sql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        &array(11) {
          ["persistent"]=>
          bool(false)
          ["hostspec"]=>
          string(9) "localhost"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(10) "gr at ndTh3ft"
          ["port"]=>
          int(3306)
          ["protocol"]=>
          string(3) "tcp"
          ["database"]=>
          string(9) "localhost"
          ["charset"]=>
          string(10) "iso-8859-1"
          ["phptype"]=>
          string(5) "mysql"
          ["driverconfig"]=>
          string(5) "horde"
          ["group"]=>
          string(11) "horde.perms"
        }
      }
    }
    [9]=>
    array(6) {
      ["file"]=>
      string(42) "/var/www/html/horde/lib/Horde/DataTree.php"
      ["line"]=>
      int(1221)
      ["function"]=>
      string(7) "factory"
      ["class"]=>
      string(14) "Perms_datatree"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        &string(3) "sql"
        [1]=>
        &array(11) {
          ["persistent"]=>
          bool(false)
          ["hostspec"]=>
          string(9) "localhost"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(10) "gr at ndTh3ft"
          ["port"]=>
          int(3306)
          ["protocol"]=>
          string(3) "tcp"
          ["database"]=>
          string(9) "localhost"
          ["charset"]=>
          string(10) "iso-8859-1"
          ["phptype"]=>
          string(5) "mysql"
          ["driverconfig"]=>
          string(5) "horde"
          ["group"]=>
          string(11) "horde.perms"
        }
      }
    }
    [10]=>
    array(6) {
      ["file"]=>
      string(48) "/var/www/html/horde/lib/Horde/Perms/datatree.php"
      ["line"]=>
      int(46)
      ["function"]=>
      string(9) "singleton"
      ["class"]=>
      string(14) "Perms_datatree"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        &string(3) "sql"
        [1]=>
        &array(11) {
          ["persistent"]=>
          bool(false)
          ["hostspec"]=>
          string(9) "localhost"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(10) "gr at ndTh3ft"
          ["port"]=>
          int(3306)
          ["protocol"]=>
          string(3) "tcp"
          ["database"]=>
          string(9) "localhost"
          ["charset"]=>
          string(10) "iso-8859-1"
          ["phptype"]=>
          string(5) "mysql"
          ["driverconfig"]=>
          string(5) "horde"
          ["group"]=>
          string(11) "horde.perms"
        }
      }
    }
    [11]=>
    array(6) {
      ["file"]=>
      string(39) "/var/www/html/horde/lib/Horde/Perms.php"
      ["line"]=>
      int(347)
      ["function"]=>
      string(14) "Perms_datatree"
      ["class"]=>
      string(14) "Perms_datatree"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [12]=>
    array(6) {
      ["file"]=>
      string(39) "/var/www/html/horde/lib/Horde/Perms.php"
      ["line"]=>
      int(367)
      ["function"]=>
      string(7) "factory"
      ["class"]=>
      string(8) "Registry"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        &string(8) "datatree"
      }
    }
    [13]=>
    array(6) {
      ["file"]=>
      string(42) "/var/www/html/horde/lib/Horde/Registry.php"
      ["line"]=>
      int(187)
      ["function"]=>
      string(9) "singleton"
      ["class"]=>
      string(8) "Registry"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [14]=>
    array(6) {
      ["file"]=>
      string(42) "/var/www/html/horde/lib/Horde/Registry.php"
      ["line"]=>
      int(103)
      ["function"]=>
      string(8) "Registry"
      ["class"]=>
      string(8) "Registry"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        &int(0)
      }
    }
    [15]=>
    array(6) {
      ["file"]=>
      string(32) "/var/www/html/horde/lib/base.php"
      ["line"]=>
      int(34)
      ["function"]=>
      string(9) "singleton"
      ["class"]=>
      string(8) "Registry"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
    [16]=>
    array(4) {
      ["file"]=>
      string(29) "/var/www/html/horde/login.php"
      ["line"]=>
      int(14)
      ["args"]=>
      array(1) {
        [0]=>
        string(32) "/var/www/html/horde/lib/base.php"
      }
      ["function"]=>
      string(12) "require_once"
    }
  }
  ["callback"]=>
  NULL




}


More information about the horde mailing list