I had a mysql connection problem on ubuntu. I was not able to start mysql service.
It was giving ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
error.
I tried to fix this error by these commands:
mkdir /var/run/mysqld/
chown mysqld /var/run/mysqld/
After this I can't see my databases in mysql.
What is the problem? What those commands affected to on databases? Or this is about configuration problem?
Can you help me please?
Thanks