rails railscoders --database=mysql
created the directory with folders except for a ‘components/’ folder
which Practical Rails by Alan B. lists as one of the folders
mysqladmin -u root create railscoders_development
mysqladmin: connect to server at ‘localhost’ failed
error: 'Access denied for user ‘root’@‘localhost’ ’
My database.yml file shows
along with same for test and production.
And as I’m on windows these comments at the top of the yml file it
that helps explain the error:
gem install mysql
Choose the win32 build.
Install MySQL and put its /bin directory on your path.
And be sure to use new-style password hashing: