I created new project with rails mysql -d <pname> but now I am creating controller I am getting error I also installed mysql with gem install mysql Access denied for user 'root'@'localhost' (using password: NO) what is the solution?
on 30.04.2008 14:13
on 30.04.2008 14:57
On 30 Apr 2008, at 13:13, Manika Suri wrote: > > I created new project with rails mysql -d <pname> > but now I am creating controller I am getting error > I also installed mysql with gem install mysql > Access denied for user 'root'@'localhost' (using password: NO) > what is the solution? Make the username and password in your database.yml correspond to users with access to your database. Fred
on 30.04.2008 17:16
Does the root account in mysql need a password? If so, have you added that password to <<app root>>/config/database.yml?
on 01.05.2008 13:09
Roy Pardee wrote: > Does the root account in mysql need a password? If so, have you added > that password to <<app root>>/config/database.yml? now tell mehow to create a database in sqlite with ruby on rails.and connect with it .I m noot getting