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.
> On Mar 23, 2020, at 11:11 AM, Thouba Nahakpam <samsun...@gmail.com
> 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.
> 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-ta...@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