Ecco la soluzione grazie di tutto:
root@giuseppe-laptop:/home/giuseppe# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
root@giuseppe-laptop:/home/giuseppe# mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 20
Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
:quote: