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

Doug Curtis doug.curtis@world-mail.org
Tue, 29 May 2001 20:59:53 -0400 (EDT)


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
>