How To Fix ERROR 2002 (HY000): Can't connect to local MySQL server through socket

preview_player
Показать описание
Assalamu 'Alaikum Warahmatullahi Wabarakatuh,

Dalam Video ini kita akan melihat cara mengatasi socket error pada Mysql Server dengan solusi yang sederhana. Kebanyakan error ini membuat layanan Mysql tidak dapat dimulai/dijalankan.
Рекомендации по теме
Комментарии
Автор

thank you very much, for me after you have to redo the command "sudo apt-get install mysql-server" and it's perfect for me !

timsantoro
Автор

So after trying for 2 days, It finally worked, Thanks

mrityunjaykumar
Автор

after following the steps it gave me the same error
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

mohammedabdallah
Автор

mkdir /var/run/mysqld after typing this query i am getting, " mkdir: cannot create directory ‘/var/run/mysqld’: Permission denied" what should i do?

joydeepmahata
Автор

Pak, kenapa saya sudah membuat mysqld.sock dengan touch, tetapi saat diperiksa menggunakan ls, file tersebut tidak ada?

nipututiara
Автор

Restarting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
failed!

jayahandika
Автор

/etc/init.d/mysql restart > no such file or directory : /etc/init.d/mysql

takiharayudai