Jhorra
2007-Dec-13 06:08 UTC
mysql error on brand new application with one empty controller
I just purchased the rails space book, and I''m walking through. All I did so far was create the application, and the controller with three empty actions. When I try to navigate to any of them I get the following error: Mysql::Error in SiteController#index #28000Access denied for user ''root''@''localhost'' (using password: NO) I even went into the database yml file and put in the correct db password etc. I opened up another rails project I created and it works fine. I deleted the project and recreated it, and I get the same error. I created the project using rails rails_space Then the controller using script/generate controller site index help about What am I supposed to do with this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg
2007-Dec-13 06:16 UTC
Re: mysql error on brand new application with one empty controller
Did you restart the script/server or mongrel process during this time? On Dec 13, 2007 4:38 PM, Jhorra <lukeconner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I just purchased the rails space book, and I''m walking through. All I > did so far was create the application, and the controller with three > empty actions. When I try to navigate to any of them I get the > following error: > Mysql::Error in SiteController#index > > #28000Access denied for user ''root''@''localhost'' (using password: NO) > > I even went into the database yml file and put in the correct db > password etc. I opened up another rails project I created and it > works fine. I deleted the project and recreated it, and I get the > same error. > > I created the project using rails rails_space > Then the controller using script/generate controller site index help > about > > What am I supposed to do with this? > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jhorra
2007-Dec-13 06:24 UTC
Re: mysql error on brand new application with one empty controller
Yes, once on the original application, then again when I created it the second time. On Dec 12, 11:16 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Did you restart the script/server or mongrel process during this time? > > On Dec 13, 2007 4:38 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > I just purchased the rails space book, and I''m walking through. All I > > did so far was create the application, and the controller with three > > empty actions. When I try to navigate to any of them I get the > > following error: > > Mysql::Error in SiteController#index > > > #28000Access denied for user ''root''@''localhost'' (using password: NO) > > > I even went into the database yml file and put in the correct db > > password etc. I opened up another rails project I created and it > > works fine. I deleted the project and recreated it, and I get the > > same error. > > > I created the project using rails rails_space > > Then the controller using script/generate controller site index help > > about > > > What am I supposed to do with this? > > -- > Ryan Bigghttp://www.frozenplague.net--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg
2007-Dec-13 06:26 UTC
Re: mysql error on brand new application with one empty controller
If it''s still giving you that error even when you restart it can only be one thing: You didn''t change the right password. Are you running in production or development mode? On Dec 13, 2007 4:54 PM, Jhorra <lukeconner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Yes, once on the original application, then again when I created it > the second time. > > > On Dec 12, 11:16 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Did you restart the script/server or mongrel process during this time? > > > > On Dec 13, 2007 4:38 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > I just purchased the rails space book, and I''m walking through. All I > > > did so far was create the application, and the controller with three > > > empty actions. When I try to navigate to any of them I get the > > > following error: > > > Mysql::Error in SiteController#index > > > > > #28000Access denied for user ''root''@''localhost'' (using password: NO) > > > > > I even went into the database yml file and put in the correct db > > > password etc. I opened up another rails project I created and it > > > works fine. I deleted the project and recreated it, and I get the > > > same error. > > > > > I created the project using rails rails_space > > > Then the controller using script/generate controller site index help > > > about > > > > > What am I supposed to do with this? > > > > -- > > Ryan Bigghttp://www.frozenplague.net > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jhorra
2007-Dec-13 06:35 UTC
Re: mysql error on brand new application with one empty controller
I''m working in the development environment. I even logged in using Mysql Administrator just to make sure it was working. I logged in and created the database. On Dec 12, 11:26 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If it''s still giving you that error even when you restart it can only be one > thing: You didn''t change the right password. Are you running in production > or development mode? > > On Dec 13, 2007 4:54 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Yes, once on the original application, then again when I created it > > the second time. > > > On Dec 12, 11:16 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Did you restart the script/server or mongrel process during this time? > > > > On Dec 13, 2007 4:38 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I just purchased the rails space book, and I''m walking through. All I > > > > did so far was create the application, and the controller with three > > > > empty actions. When I try to navigate to any of them I get the > > > > following error: > > > > Mysql::Error in SiteController#index > > > > > #28000Access denied for user ''root''@''localhost'' (using password: NO) > > > > > I even went into the database yml file and put in the correct db > > > > password etc. I opened up another rails project I created and it > > > > works fine. I deleted the project and recreated it, and I get the > > > > same error. > > > > > I created the project using rails rails_space > > > > Then the controller using script/generate controller site index help > > > > about > > > > > What am I supposed to do with this? > > > > -- > > > Ryan Bigghttp://www.frozenplague.net > > -- > Ryan Bigghttp://www.frozenplague.net--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jhorra
2007-Dec-13 06:37 UTC
Re: mysql error on brand new application with one empty controller
When I try and stop, then start the server I get some bad errors. I''m going to try reinstalling mysql and see if that helps. On Dec 12, 11:35 pm, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m working in the development environment. I even logged in using > Mysql Administrator just to make sure it was working. I logged in and > created the database. > > On Dec 12, 11:26 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > If it''s still giving you that error even when you restart it can only be one > > thing: You didn''t change the right password. Are you running in production > > or development mode? > > > On Dec 13, 2007 4:54 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Yes, once on the original application, then again when I created it > > > the second time. > > > > On Dec 12, 11:16 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Did you restart the script/server or mongrel process during this time? > > > > > On Dec 13, 2007 4:38 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > I just purchased the rails space book, and I''m walking through. All I > > > > > did so far was create the application, and the controller with three > > > > > empty actions. When I try to navigate to any of them I get the > > > > > following error: > > > > > Mysql::Error in SiteController#index > > > > > > #28000Access denied for user ''root''@''localhost'' (using password: NO) > > > > > > I even went into the database yml file and put in the correct db > > > > > password etc. I opened up another rails project I created and it > > > > > works fine. I deleted the project and recreated it, and I get the > > > > > same error. > > > > > > I created the project using rails rails_space > > > > > Then the controller using script/generate controller site index help > > > > > about > > > > > > What am I supposed to do with this? > > > > > -- > > > > Ryan Bigghttp://www.frozenplague.net > > > -- > > Ryan Bigghttp://www.frozenplague.net--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jhorra
2007-Dec-13 06:57 UTC
Re: mysql error on brand new application with one empty controller
Ok, even after reinstalling, and restarting the computer I still get the mysql error. The service is running, and I''m positive I have the correct password in the yml file. Also, there is absolutely 0 sql in this application so far, only an empty controller. On Dec 12, 11:37 pm, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> When I try and stop, then start the server I get some bad errors. I''m > going to try reinstalling mysql and see if that helps. > > On Dec 12, 11:35 pm, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''m working in the development environment. I even logged in using > > Mysql Administrator just to make sure it was working. I logged in and > > created the database. > > > On Dec 12, 11:26 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > If it''s still giving you that error even when you restart it can only be one > > > thing: You didn''t change the right password. Are you running in production > > > or development mode? > > > > On Dec 13, 2007 4:54 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Yes, once on the original application, then again when I created it > > > > the second time. > > > > > On Dec 12, 11:16 pm, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Did you restart the script/server or mongrel process during this time? > > > > > > On Dec 13, 2007 4:38 PM, Jhorra <lukecon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > I just purchased the rails space book, and I''m walking through. All I > > > > > > did so far was create the application, and the controller with three > > > > > > empty actions. When I try to navigate to any of them I get the > > > > > > following error: > > > > > > Mysql::Error in SiteController#index > > > > > > > #28000Access denied for user ''root''@''localhost'' (using password: NO) > > > > > > > I even went into the database yml file and put in the correct db > > > > > > password etc. I opened up another rails project I created and it > > > > > > works fine. I deleted the project and recreated it, and I get the > > > > > > same error. > > > > > > > I created the project using rails rails_space > > > > > > Then the controller using script/generate controller site index help > > > > > > about > > > > > > > What am I supposed to do with this? > > > > > > -- > > > > > Ryan Bigghttp://www.frozenplague.net > > > > -- > > > Ryan Bigghttp://www.frozenplague.net--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---