mysql on artix linux gives the 'ERROR 2002 (HY000)'
-1
votes
1
answer
180
views
I'm using artix linux with runit init system and I've stumbled upon this issue where I can't login into mariadb by using
sudo mysql -u root -p
because it gives me the following error:
ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)
Have anyone had a problem like this before?
I think it has something to do with runit not picking up the path to the mariadb.
Asked by Coelll
(41 rep)
Nov 8, 2021, 09:07 AM
Last activity: Nov 8, 2021, 09:28 AM
Last activity: Nov 8, 2021, 09:28 AM