[horde] Broken SQL connection after DataTree setup
jan at horde.org
Sat Aug 13 01:09:02 PDT 2005
Zitat von Jason Dixon <jason at dixongroup.net>:
> I've been installing Horde and some of the modules and suddenly broke
> my SQL when I went to configure Kronolith and install a DataTree.
> Even though all of my settings use TCP instead of the mysql file
> socket, all I'm getting now are errors about how Horde can't connect
> to the database through the socket (running chrooted). Can anyone
> clue me in as to how to fix this?
> Sample horde log entry:
> Aug 12 23:59:08 HORDE [emergency] [horde] DB Error: connect failed:
> [nativecode=Can't connect to local MySQL server through socket '/var/
> run/mysql/mysql.sock' (2)] ** Array [on line 1273 of "/htdocs/horde/
> And the relevant settings from /horde/config/conf.php:
> $conf['sql']['phptype'] = 'mysql';
> $conf['sql']['persistent'] = true;
> $conf['sql']['protocol'] = 'tcp';
> $conf['sql']['hostspec'] = 'localhost';
MySQL connections to "localhost" *always* use sockets.
Do you need professional PHP or Horde consulting?
More information about the horde