[imp] Can't connect to local MySQL server through socket
Dustin Froula
dustin@froula.com
Tue, 29 May 2001 18:28:42 -0700 (PDT)
Thanks for the suggestion that worked, but I have to change the hordemgr
password to the default. If I don't I get the following error:
Warning: Access denied for user: 'hordemgr@localhost' (Using
password: YES)
in /home/httpd/php/db_mysql.inc on line 78
Did you have a similar problem or did you just keep the default password?
Thanks again,
-Dustin
On Tue, 29 May 2001, Doug Curtis wrote:
> I had to cheat and make a symbolic link to /var/lib/mysql/mysql.sock in /tmp.
> I have two different servers and I didn't have to on one server but I did on
> another. They were both install using RPM's so I'm not sure what I did on the
> one server.
>
> Doug
>
> Quoting Dustin Froula <dustin@froula.com>:
>
> > I am getting the following error when I go to
> > http://pointsource.ucdavis.edu/horde/imp
> >
> > Warning: Can't connect to local MySQL server through socket
> > '/tmp/mysql.sock' (111) in /home/httpd/php/db_mysql.inc on line 78
> >
> > I have read the FQA on this problem, but found no soln. I then edited
> > the
> > db_mysql.inc file to see what host, usr, and password it was trying to
> > use:
> >
> > /* kea */
> > print "host=$Host ";
> > print "user=$User ";
> > print "pass=$Password ";
> > /* kea */
> >
> > $this->Link_ID=mysql_pconnect($Host, $User, $Password);
> > if (!$this->Link_ID) {
> > $this->halt("pconnect($Host, $User, \$Password) failed.");
> > return 0;
> > }
> >
> > and then ran the localhost/horde/imp again. It appears that it is
> > trying
> > to use a default password hordemgr which I have changed using the
> > dbpasswd.sh script. I also checked the defaults.php3 and local.inc
> > files
> > to see if the password had been changed and it had. Where is imp
> > getting
> > this old password?
> >
> >
> > -Dustin
> >
> >
> >
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>