Closed mccullya closed 9 years ago
This one keeps changing. Quick note to remind us that if this gets merged we'll need to amend the docs to suit: http://vlad-docs.readthedocs.org/en/latest/applications/mysql
What about perhaps putting both rules ( { boxipaddress } & 127.0.0.1) in?
I would say that instead of replacing the root user task you could just create another task that does the 127.0.0.1 host. Or, create a with_items task that loops through both addresses.
Yup, makes sense. I've updated this PR to have two tasks. Tested OK for me on a fresh vagrant instance..
Thanks for the update Andrew! Sorry it's been a while since my last update (I've been moving house) :)
In order to connect to the DB (after SSH'ing in), this host needs to be set to 127.0.0.1, not the box IP. This was tested against connecting to the DB on PHP Storm