Topic: New install with RVM,Home brew and zsh on Lion

I am running Lion and followed install directions from http://eddorre.com/posts/rails-ultimate … w-and-pow. after installing mysql i ran mysql -uroot and received the following error.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I know this is likely a simple fix but I am such a newbie, and not familiar with the commands.

Thanks

Re: New install with RVM,Home brew and zsh on Lion

use this two commands in your terminal it will defiantly work for you.
 
sudo /etc/init.d/mysql stop

sudo /usr/sbin/mysqld --skip-networking --skip-grant-tables &