I am on Cento 6.9 and trying to solve a problem with Mysql.
When I try to start mysql I get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
As per recommendation of gurus here I tried to find mysql.sock file. I have tried:
find . -name mysql.sock
But could not find anything. Any idea where my mysql.sock is?
I have also tried:
lsof -U -c mysqld -a
which returns nothing.