Add support for vagrant development

please quote the subshells to be safe here:

    PORT="$(mysql -h localhost...)"