Solved issue: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock

Solved issue- Can-t connect to local MySQL server through socket

One day I faced issue with mysql.sock file. I solved the issue with following commands. [root@localhost ~]# mysqladmin -u root shutdown mysqladmin: connect to server at ‘localhost’ failed error: ‘Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)’ Check … Continue reading

How to remove the AuthType Basic

How to remove the AuthType Basic

For putting the web authentication we always use the .htaccess or apache configuration file. For removing the web auth from folder you need put following code in .htaccess file. without directory use the following code. #AuthType Basic #AuthName “By Invitation … Continue reading

Solved issue: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock

Solved issue-Can-t connect to local MySQL server through socket

[root@localhost ~]# mysqladmin -u root shutdown mysqladmin: connect to server at ‘localhost’ failed error: ‘Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)’ Check that mysqld is running and that the socket: ‘/var/lib/mysql/mysql.sock’ exists! Using following command I checked … Continue reading