I bought a VPS server(Ubuntu operating system). I installed mysql-server and phpmyadmin. It works well, but now when I try access phpMyAdmin page I got this message:
#2002 No such file or directory <br /> The server is not responding (or the local server's socket is not correctly configured).
And in putty this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
How to restore missing socket?