ebook v22 page 233 - 237 there the authors use both localhost and yourhost.com as examples for the configuration: in the database.yml file it is localhost. In the apache httpd.conf file it is yourhost.com 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.