Ho maledettamente impostato la password di MySQL su Ubuntu ed ora non riesco più a connettermi a MySQL:
root@giuseppe-laptop:/home/giuseppe# ps aux | grep mysql
root 18205 0.0 0.1 2896 772 pts/0 R+ 20:33 0:00 grep mysql
root@giuseppe-laptop:/home/giuseppe# mysqladmin ping
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
root@giuseppe-laptop:/home/giuseppe# mysqladmin -u root -p ping
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
root@giuseppe-laptop:/home/giuseppe# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Cosa devo fare aiutatemi!!