small medium large xlarge

08 Jul 2012, 18:23
Andrew Gellene (33 posts)

ebook v22 page 233 - 237 there the authors use both localhost and as examples for the configuration: in the database.yml file it is localhost. In the apache httpd.conf file it is in the mysql username it is ‘username’@’localhost’ .

I am trying to push production to my local machine (Mac) not to a server somewhere (not yet).

It is a bit confusing I do know that the mysql ‘localhost’ does have to mirror the database.yml host: config. But does the apache httpd.conf matter? I have not had a successful deployment but will keep trying. I just don’t know how they knit together. If anyone knows the answer I would appreciate a heads up.

You must be logged in to comment