[dev] [horde] Getting Fatal Error : DB Error: connect failed

man man little_heartly at yahoo.co.in
Mon Nov 21 22:08:39 UTC 2011


I have changed $conf['sql']['protocol'] to tcp (before it was unix) in conf.php under horde/config directory.

Still getting same error.

Is it the thing or you want to talking about switch unix to tcp or it is setting somewhere in server or horde application?


--- On Sat, 19/11/11, Jan Schneider <jan at horde.org> wrote:

> From: Jan Schneider <jan at horde.org>
> Subject: Re: [horde] Getting Fatal Error : DB Error: connect failed
> To: horde at lists.horde.org
> Date: Saturday, 19 November, 2011, 5:42 PM
> 
> Zitat von man man <little_heartly at yahoo.co.in>:
> 
> > Hello,
> > 
> > My horde was working fine and then i move my horde
> project to new server with new database.
> > I have changed horde/conf/conf.php with related db
> setting changes.
> > 
> > But still i am getting db connection failed error.
> > 
> > Note : Database is not on the same server, it is on
> the other server and for accessing it i am giving IP in the
> dbhost variable.
> > 
> > I am getting below error,
> > 
> > nativecode=Access denied for user 'root'@'localhost'
> (using password: YES)] **
> mysql(mysql)://root:PASSWORD at unix:3306/
> > 
> > Please help me to solve this problem as it is major
> issue for me.
> 
> Looks like you didn't switch the connection mode from unix
> sockets to tcp.
> 
> Jan.
> 
> --Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
> 
> --Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 


More information about the dev mailing list