I know how do skip this problem on ubuntu, but how can i do it on MAC OS?
How can i set password for mysql on MAC?
1) Doesn\'t work
mysqladm
sudo mysql -uroot SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new_password'); flush privileges; Ctrl+D mysql -uroot -pnew_password # will work now
Notice the sudo on the first line.
sudo