Can't connect to local MySQL server through socket
In mysql we might get this problem while fresh installation of mysql.
"Can't connect to local MySQL server through socket"
The below line can help to over come a problem.
Step:1
sudo mkdir /var/run/mysqld/
Step:2
sudo ln -s /opt/lampp/var/mysql/mysql.sock /var/run/mysqld/mysqld.sock
I think this will help you overcome the problem of mysql sock layer.
"Can't connect to local MySQL server through socket"
The below line can help to over come a problem.
Step:1
sudo mkdir /var/run/mysqld/
Step:2
sudo ln -s /opt/lampp/var/mysql/mysql.sock /var/run/mysqld/mysqld.sock
I think this will help you overcome the problem of mysql sock layer.
Comments
Post a Comment