I installed mySQL, I booted it up.
Now I'm trying to set the password in mysqladmin with this :
mysqladmin -u root -hec2-50-17-36-82.compute-1.amazonaws.com password 'my_password'
This returns :
mysqladmin: connect to server at 'ec2-50-17-36-82.compute-1.amazonaws.com' failed error: 'Access denied for user 'root'@'ip-10-127-34-29.ec2.internal' (using password: NO)'
But if I do this.. :
mysql -u root -hec2-50-17-36-82.compute-1.amazonaws.com
I can log right into the server, and it doesn't even ask for a password!
What's happening? What should I do from here?