Hi. First of all thanx for reading this posting. I read all the posting about the same error posted before. I just installed mysql and:
/# mysql -u root
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO
but when :
root@jakub:/# mysql -u mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 18 to server version: 3.23.55
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
it goes on with out even promting for a password. When I tried to change passw. for user root or mysql I get follwing:
root@jakub:/# mysqladmin -u root -p test
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: YES)'
when tried to change password for user mysql:
root@jakub:/# mysqladmin -u mysql -p test
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'mysql@localhost' (Using password: YES)'
Well thats why I am so confused because I can go to mysql with user mysql with out beeing prompted for a passwd. and I can assign a passwd to that user or change it. I did run script mysql_install_db as a user mysql. went through just fine.
Jakub