I install PhpMyAdmin and when i try to run mysql but I always get the same error:
ERROR 2002 (HY000): Can´t connect to local MySql server through socket 'var/run/mysqld/mysqld.sock' (2)
What happens when you run:
service mysql status
Also when installing mysql are you installing
EDIT: seems 2002 is lack of server, and only having mysql-client.
sudo apt-get install mysql-server to fix this.