[CentOS] Centos 6.6 Can't connect to local MySQL server through socket /var/lib/MySQL/MySQL.sock (error 2002)þ

Thu May 21 21:58:54 UTC 2015
Valeri Galtsev <galtsev at kicp.uchicago.edu>

On Thu, May 21, 2015 4:45 pm, Graham Wilman wrote:
> I cannot say if it ever worked I have inherited the sorting out of our
> servers at the radio station due to it being run by volunteers and as in
> all volunteer organisations people come and go I did do some research on
> the internet and tried various commands in the terminal  but kept on
> getting MySQL does not exist yet when I tried the locate MySQL I did get
> an output with various directories and sub directories I did come across
> the getenforce command and when I typed it the output came back with
> disabled

With all "inherited" machines I re-install them the sooner I can do it the
better. (You see, I do not like adventures to be part of my sysadmin's
job)

Just my $0.02.

Valeri

>
>> Date: Thu, 21 May 2015 17:07:29 -0400
>> From: m.roth at 5-cent.us
>> To: centos at centos.org
>> Subject: Re: [CentOS] Centos 6.6 Can't connect to local MySQL server
>> through socket /var/lib/MySQL/MySQL.sock (error 2002)þ
>>
>> Graham Wilman wrote:
>> >  Hi
>> >
>> > Total newby to centos I am currently assisting a community radio
>> station
>> > set up in the Uk we are using a server based system for our playout
>> > software, unfortunately at the moment one of our client servers is
>> > experience the above error I came across the error on our main server
>> a
>> > few weeks ago and found the solution just by reinstalling the MySQL db
>> but
>> > I have tried to deploy the same fix on our client server otherwise
>> known
>> > as studio-b client but unfortunately this has not solved the problem
>> any
>> > assistance with this would be very much appreciated.
>> >
>> First question - did it ever work? If not, is selinux enforcing?
>>
>>        mark "getenforce"
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++