On 15 May 2016 at 13:15, Sm Ehsan <[email protected]> wrote: > Hi > I am a new fedora user and i am installing ROR on my machine. but when i > try to enter the following command, it shows the following errors. > can any one please tell me how can i solve this problem. > > > [smehsan@localhost proone]$ rake db:create > #<Mysql2::Error: Can't connect to local MySQL server through socket > '/var/run/mysqld/mysqld.sock' (13 "Permission denied")> > Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", > "pool"=>5, "username"=>"root", "password"=>nil,
That says you are trying to connect as user root with no password. Is that what you intended? If not have you got the correct user and pwd in config/database.yml? Colin -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuOvU9AFUBkXahZ6e%2BtyK0jrFS%2B71hPSEdFK1cbGLdXFw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

