At 11:58 AM 8/22/2001, Jay Paulson wrote:

the socket has to be made by the mysql deamon.  Read the mysql docs on 
mysql.org search for mysql.sock.  mysql will not work if that files is 
deleted....if you run redhat or other distros make sure that /tmp and 
/var/tmp aren't cleaned at each reboot or you'll have a bitch of a time 
because you'll have to create a new socket each time.

~kurth

>I had the EXACT same problem... what you need to do is find where the
>'mysql.sock' file is on your computer (sometimes it's at /var/lib/mysql.sock
>or some place like that).. then what you need to do is create the mysql.sock
>file in the /tmp directory (for some reason it wouldn't let me copy over the
>file to the /tmp directory once i found it).. then you can create a symbolic
>link using the ln command.. and if you need help with the ln (i believe
>that's it if not let me know) you can just type "man ln" in the command
>prompt if you are running on a linux box....
>
>hope that helps..
>jay
>
>----- Original Message -----
>From: "Tom Beidler" <[EMAIL PROTECTED]>
>To: "php list" <[EMAIL PROTECTED]>
>Sent: Wednesday, August 22, 2001 10:39 AM
>Subject: [PHP] phpMyAdmin install error
>
>
> > I'm getting the following error with phpMyAdmin;
> >
> > Warning: MySQL Connection Failed: Can't connect to local MySQL server
> > through socket '/tmp/mysql.sock' (2) in
> > /home/web/isp.com/public_html/dloc/admin/lib.inc.php on line 308
> > Error
> >
> > Any ideas where to start looking. All I've set in the config.inc.php is
> > userid, password and database name. Works on every other ISP I've used but
> > this one is barking.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to