On 3 April 2011 03:14, wordmystic <[email protected]> wrote: > rails railscoders --database=mysql > > created the directory with folders except for a 'components/' folder > which Practical Rails by Alan Bradburne lists as one of the folders > created. > > Continuing with: > mysqladmin -u root create railscoders_development > > returns this: > > mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user 'root'@'localhost' <using password: > NO>'
That is not a Rails issue, it is saying that you have not setup your mysql server to allow access as user root with no password. Assuming that you have setup a mysql server then provide a valid user and password in the mysqladmin command. Google for mysqladmin if you do not know how to do that. > > My database.yml file shows > > development: > adapter: mysql > encoding: utf8 > database: railscoders_development > username: root > password: Also setup appropriate user and password here. Colin -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

