ERROR 2002 HY000 Can't connect to local MySQL server through socket var run mysqld | Ubuntu 22.04

preview_player
Показать описание
Active: failed (Result: exit-code) since Sun 2022-12-04 17:30:03 CET; 3min 36s ago
CPU: 12ms

Dez 04 17:30:03 hame-m122 systemd[1]: Stopped MySQL Community Server.
Dez 04 17:30:03 hame-m122 systemd[1]: Failed to start MySQL Community Server.
Active: failed (Result: exit-code) since Sun 2022-12-04 17:30:03 CET; 1min 45s ago
CPU: 12ms

Рекомендации по теме
Комментарии
Автор

Thank you! It took an hour of struggling before I found your video. Great tutorial.

ismailk
Автор

After browsing other videos and none of them worked, yours is gold.

renweimiao
Автор

Dude... more than 2 day, at least 30 posts, and your video did it. Thanks a lot.

GameplayzOfficial
Автор

Thankss, really helped a lot, I was only purging mysql, did not realise that there was an issue with mariadb as well :)

arjundeodhar
Автор

Thank you it worked!! this took me more than 24 hrs

mamudeveloper
Автор

THX
sudo apt-get purge mysql-server && sudo apt-get purge mysql-* && sudo apt-get install mysql-server

gamatek
Автор

4EVER IN MY <3 I LOVE U BRO, i read about the socket path, my.cnf, my.cnfd, reinstall 1000 times, and NOTHING !! this resolve YEAAAAH

juanfernandoechavarria
Автор

Thanks Much. I am grateful for this video

suleymanaliyev-tech
Автор

Great work .. most usefull video of mysql

deepakchopdar
Автор

Cara... talvez você não entenda o que eu digo... mas você é maravilhoso <3

nyarlathotep
Автор

But This Command Will Remove MySQL as well erase all your database file that is stored in /var/lib/mysql

gauravbangamusic
Автор

thank you very much, the best solution!!!

wilmerchuquitarco
Автор

theres no fucking way that mariaDB was the culprit, holy shitt thanks man!!

CaptainBullzAQW
Автор

hello, I have same error, but not resolved by steps you guided.
may i know how to connect with you to share some screenshots of errors I am facing

falahtech
Автор

thanks, this really helped a lot. I tried everything but nothing worked

jane-mariefricke
Автор

thanks alot this video so helpful for me

kurdev
Автор

good video but it wasn't able to solve the problem in my case, i followed all steps that used in the video and i installed until end the mariadb server but this unfortunately didn't work. do you know other idea to solve it?

brandonalexis
Автор

Will I be able to resolve this issue using your method? Sorry I am not much technical but I have sites running in my CyberPanel and don't want to lose them or the data.

OperationalError at /
(2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

mohammadhussain
Автор

.This video is for installing marian DB, not mysql, at the end of the video you install marian db instead of MySQL please correcect your error.

apoorvpandeyvns