Перейти к содержанию

Метки: debian9

Can’t connect to local MySQL

I got the following error ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (111) Tried several ways and finally solved it through the following way sudo gksu gedit /etc/mysql/my.cnf modified #bind-address = 127.0.0.1 to bind-address = localhost and restarted sudo /etc/init.d/mysql restart it worked

Debian Sources List

  Sources List GPG Keys sudo apt-key adv —keyserver ha.pool.sks-keyservers.net —recv-keys D97A3AE911F63C51   Хотите сам выбрать нужные репы? Debian Sources List Generator