I am stuck when trying to access mysql. It's my first time so please be patient with me.
Initially I was try to set up Ruby and Rails and everything worked perfrectly expect access denied when connecting to the server, SO I ran this command.
mysql -uroot -p
I've tried various passwords including leaving it blank and get this error.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
I am assuming I need to reset the password for root user but I just can't seem to get it to work.