I've just installed Mysql on Ubuntu 10.4 LTS and unfortunately I've been experiencing serious problems.
Using the terminal I gain root access (through the commands:sudo su) and I type :
mysql
immediately I get this error:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Then I type:
mysqladmin -u root fist_p second_p_151
and I get:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
I also get errors whenever I want to import a sql file.
mysql -u root -p
and then enter the password in the console.