Ruby on Rails Monday, March 23, 2020

Hello,
I think you misconfigure the database.
There is no database username named root.

Please check the database.yml file. 

Thank you

On Mon, Mar 23, 2020, 9:57 PM Walter Lee Davis <waltd@wdstudio.com> wrote:
It appears that you have configured a database, but that database isn't running correctly, or doesn't have a user named "root". That name is commonly used in a default MySQL install. If you're using a different database engine, then the default user may be named differently. That's where I would start looking. The answer will be very specific to your own server.

Walter

> On Mar 23, 2020, at 11:11 AM, Thouba Nahakpam <samsungmeitei@gmail.com> wrote:
>
> Hello,
> When I try to access localhost:3000, it shows ActiveRecord::NoDatabaseError. Can anybody tell me how to fix it? I have attached a screenshot of it below.
> Thanks.
>
> <RAD.JPG>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/980a2a38-5cf3-4b4d-9e39-582e47604538%40googlegroups.com.
> <RAD.JPG>

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/55386CC9-BBEB-407B-97F7-4AC0B0598CE0%40wdstudio.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CANoOQ2SXoeiO7i5uOK%2BfAuhxMemZCC_eNQLh1%2BPUEPYoSGhZQQ%40mail.gmail.com.

No comments:

Post a Comment