[Instantrails-users] Unable to run cookbook example
Randee Bierlein
rbierlein at gmail.com
Thu Jun 29 17:04:51 EDT 2006
Hi Curt,
Thanks for the reply. Yes, I am working with the cookbook application
that came with the installation. I've unzipped fresh copies of
InstantRails into new directories a few times now and I always get
this problem.
No, I haven't changed the password for 'root' in the database. I just
checked cookbook/config/database.yml to be sure: the password is
blank.
I do get an error when I start InstantRails.exe: MySQL port (3306) is
in use. Is that a problem?
Thanks,
R
On 6/29/06, Curt Hibbs <curt.hibbs at gmail.com> wrote:
> Can you run the cookbook app that came preinstalled with Instant Rails?
>
> It looks like MySQL is expecting a password for the "root" user even though
> it should be blank. Have you changes the "root" user password in the
> database?
>
> Try unzipping a fesh copy of Instant Rails into a brand new directory, then
> start it up and try running the included cookbook app and see if it works.
>
> Curt
>
>
> On 6/29/06, Randee Bierlein <rbierlein at gmail.com> wrote:
> >
> Hi,
>
> I'm new to RoR, just trying to get my environment set up. I am
> following the tutorial at:
> http://instantrails.rubyforge.org/tutorial/. When I point
> my browser
> to http://localhost:3000/recipe/list, the following error
> appears in
> the browser:
>
> Mysql::Error in RecipeController#list
> Access denied for user 'root'@'localhost' (using password: NO)
>
> I had this problem before and figured it had to do with privileges. I
> re-installed InstantRails (in a different directory) after being added
> to the Administrators group on my computer. The problem still occurs.
>
> Any ideas? Now I think it might be an issue with port numbers, but
> I'm not sure how to track it down.
>
> Thanks,
>
> R
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
>
>
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
>
>
More information about the Instantrails-users
mailing list