You have to reset the password! steps for mac osx(tested and working) and Ubuntu
Start mysql in safe mode:
(above line is one whole command)
This will be an ongoing command until the process is finished so open another shell/terminal window, log in without a password:
your new password is ‘password’.