Error installing phpmyadmin - can't access mysql now
I tried installing phpmyadmin and I got the below error.
When I try to access mysql via mysql -u root -p and use root password, I get this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I've tried a lot of different solutions and nothing is working. Anyone have a fix for this?