Mar 9, 2013

0 Can't connect to local MySQL server through socket '/var/run/

Usually happens during Phpmyadmin instalation if you choose auto-config mode.
FIX :  If MySQL is already installed, then  sudo apt-get remove mysql
After removal  apt-get install mysql-server mysql-client



Update :

$ sudo service mysql stop
$ sudo /etc/init.d/apparmor reload
$ sudo service mysql start
$ mysql -u root -p, using the password you set when installed mysql
* if cannot stop mysql as service : 
pkill -9 mysqld

0 comments :

Post a Comment

Comment: