[help] cannot log in to mysql - ERROR 2002 (HY000):

Semua mengenai lingkungan desktop Ubuntu.
Post Reply
User avatar
iColdPlayer
Posts: 5
Joined: 22 Mar 2018, 22:19

[help] cannot log in to mysql - ERROR 2002 (HY000):

Post by iColdPlayer » 26 Jul 2018, 23:30

Selamat malam,..

Maaf saya mau tanya mengenai masalah tidak bisa login ke mysql.

setiap ingin login selalu muncul :

Code: Select all

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Saya sudah coba remove semua paket mysql dan coba install ulang tapi begitu install ulang muncul error :

Code: Select all

dpkg: error processing package mysql-server-5.7 (--configure):
 installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 mysql-server-5.7
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
ketika saya mau coba "sudo apt upgrade -y" pun hasilnya error sama seperti diatas.

beberapa cara ketika saya browsing dari askubuntu, stackoverflow, digitalocean masih belum worth it...

barang kali ada yang mengalami hal yang sama?

Mohon bantuannya suhu...
Terima kasih banyak sebelumnya.


User avatar
#RisX
Posts: 52
Joined: 18 Jul 2014, 13:29
Location: jakarta
Been thanked: 1 time

Post by #RisX » 27 Jul 2018, 08:34

Coba jalanin perintah ini :
  • apt install -f
  • dpkg --configure -a


Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests