0

I am new to MySQL.

I naively tried to uninstall my MySQL from by Ubuntu 20.04 before attempting to reinstall it again.

In order to do this, I followed the instructions listed in the accepted answer in this post.

Alas, upon reinstallation, trying to run sudo mysql returned ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I checked out /var/run/ and it contains no mysqld folder...

How can "recreate" the mysqld socket? Any help will be appreciated!

Sheldon
  • 101
  • 2

0 Answers0