Rolling with Ruby on Rails, Part 2
Subject:   getting the database to work with the password
Date:   2005-04-04 19:37:32
From:   curth
Response to: getting the database to work with the password

yaml files can be sensitive to format, so make sure your "password:" line starts with two spaces and has a single space after the colon, followed by the password itself. Make sure you don't have any extraneous unprintable characters (a hex editor helps here).

Also, it should use the "development:" section by default, but just to be sure you should also set the test and production sections.

Finally, make sure you can access your MySql database with that username/password using some other software (like MySql-Front) to verify that you can, in fact, access your database.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • getting the database to work with the password
    2005-11-04 21:03:33  bradlane [View]

    I initially setup MySQL without a password and added one after starting the second part of tutorial as mentioned above. Now, when I try to access the list page I get: "Client does not support authentication protocol requested by server; consider upgrading MySQL client."

    BTW - I'm using MySQL 5.0 and I can connect with MySQL-Front using the new password.