I am stuck trying to access mysql. This is my first time, please be patient with me.
At first I tried to configure Ruby and Rails, and everything worked correctly, expecting that access would be denied when connecting to the server. I executed this command.
mysql -uroot -p
I tried various passwords, including leaving it blank and getting this error.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
I assume that I need to reset the password for the root user, but I just can't get it to work.
source share