Thank you for the link.  

I understand that I need a mysql.sock file, what I don't understand is that I 
used to get one when I installed MySQL.  When I look through all my 4.0.x mysql 
directories I see a socket directory that contains a mysql.sock file.  With my 
4.1 install I do not see this file.

Why do I no longer get a socket/mysql.sock with the install?

Thanks again for your time.
-Barb.

-----Original Message-----
From: Gleb Paharenko [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 10, 2005 6:21 PM
To: mysql@lists.mysql.com
Subject: Re: SOCKET directory

Hello.

> However, when I try to connect I get the error:

Have a look here:
  http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html

Barbara Deaton wrote:
> With MySQL 4.0 when I wanted to run my application on any of the unix 
> = boxes I had to set the MYSQL_UNIX_PORT environment variable to point 
> to = the location of my socket file.  Looking through my 4.1.9 install 
> I no = longer see a mysql/socket directory. =20
> 
> However, when I try to connect I get the error:
> 
> ERROR: Error trying to establish connection: Can't connect to local = 
> MySQL=20
>        server through socket '/tmp/mysql.sock' (2)
> 
> Where did it go?  Is it no longer needed?
> 
> Thanks for any information.
> 
> Barbara
> 


--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to