[vox-tech] mysql and linux - tech help

Larry Ozeran vox-tech@lists.lugod.org
Tue, 19 Nov 2002 20:09:26 -0800


When I have had this problem, it has simply been that (for whatever reason)
safe_mysqld hadn't run at startup. You might just try typing it at the
command line: safe_mysqld &

-- Larry

At 04:03 PM 11/19/02 -0800, you wrote:
>Andrew Stein wrote:
>
>> hi, I am looking for some tech help with mysql on my
>> linux computers. basicly, I am getting the following
>> error
>>
>> ERROR 2002: Can't connect to local MySQL server
>> through socket '/var/lib/mysql/mysql.sock' (111)
>
>Does this file exist?
>Does the directory "/var/lib/mysql" exist?
>
>I got this message when I installed mysql in
>a location what was not the default. The solution was
>to edit the script "safe_mysqld" and set the
>location of the socket file to "/tmp" using the
>environment variable "MYSQL_UNIX_PORT".
>
>>
>>
>> What I want to do is run mysql localy, not over a
>> network or anything odd. I have three linux boxes
>> which all need to be running mysql.
>>
>> Should someone be able to come in person(I live in
>> Davis) and help me I would be more than willing to pay
>> you for your time.
>>
>> =====
>> -----------------
>> Andrew Stein
>> _______________________________________________
>> vox-tech mailing list
>> vox-tech@lists.lugod.org
>> http://lists.lugod.org/mailman/listinfo/vox-tech
>
>_______________________________________________
>vox-tech mailing list
>vox-tech@lists.lugod.org
>http://lists.lugod.org/mailman/listinfo/vox-tech
>
>