ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  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.

1 to 1 of 1
1 to 1 of 1