ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) with MariaDB & MySQL

Hello @MagusZ

Don’t know much about MariaDB but it looks like the service needs to be started.

sudo systemctl start mariadb.service

sudo systemctl enable mariadb.service

Edit: Probably the same issue with MySQL