The mysql56 directory and settings4.plist copied over to the corresponding places on the new Mac. The problem is, I am using a different username on the new Mac so all of the virtualhosts paths (root directories) are incorrect – they include the former username.
Sure, I can manually update each one via MAMP Pro gui, but I have over 100 virtualhost names. I thought updating both httpd.conf files ( ~/Library/Application Support/appsolute/MAMP PRO/httpd.conf
and
/Library/Application Support/appsolute/MAMP PRO/conf/httpd.conf
) would resolve the issue, but it doesn't.
Instead, it re-writes both httpd.conf files back to the old username once Apache is started.
Is there a simple way to fix this?