Can't connect to local MySQL server through socket

Dustin Froula dustin@froula.com
Tue, 29 May 2001 16:42:48 -0700 (PDT)


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