[imp] Can't connect to local MySQL server through socket

Doug Curtis doug.curtis@world-mail.org
Tue, 29 May 2001 21:36:14 -0400 (EDT)


No, I changed that password in the web-based setup for IMP.  I also changed the 
password for the actual database on the command line.

Oh yeah, I am running Horde 1.2.5 and IMP 2.2.5

Doug

Quoting Dustin Froula <dustin@froula.com>:

> 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
> > 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>