I’m trying to install Rails (On Mac OSX) and I basically have it all done now, but I’m currently learning from a book that uses SQLite 3, I just want to use MySQL, will the statements for talking to the Database be the same throughout the book? Also, when you set your Mysql password/username you do so in /config/database.yml but that’s visible from the web, and anybody can navigate there and see my password and what not, is there something I am missing here?
I’m trying to install Rails (On Mac OSX) and I basically have it all
Share
publicfolder. This contrasts with PHP applications where everything is exposed (and must be exposed in order for the web server to interact with it).