• MySQL Error 2002

    Recently installed MySQL via mariaDB distributor, and can’t seem to start working on anything.

    [[email protected] etc]$ mysql 
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)

    I checked under /run/mysqld, but there doesn’t seem to be anything there, which means I’m missing my socket file. I tried reinstalling MySQL, but it still doesn’t seem to fix the problem.

  • @mattwong MySQL is not recommended on Archlinux, and so also Antergos:

    But both need to start the server to be able to connect.

    sudo systemctl start mysqld.service
error340 mysql4 20021 Posts 2Views 57
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.