I have a MySQL installed on my linux server, I forgot it\'s password so I went and changed it using the methods I found on the web. What I did was as follows:
I had the same problem. You have to write mysql -u root -p
mysql -u root -p
NOT mysql or mysql -u root -p root_password
mysql
mysql -u root -p root_password