Thanks for reminding me about the shared folder option! I added this to the Vagrantfile so it automatically pulls in the .bashrc and .bash_profile and I can use the same files for multiple Vagrant boxes:
config.vm.synced_folder "/path_to_your_local_shared_directory", "/home/vagrant"
Now it's only 1 step. :)
If anyone else gets errors like this:
[Warning] Can't create test file /usr/local/var/mysql/whoami.lower-test
[ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode
[ERROR] InnoDB: The system tablespace must be writable!
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported storage engine: InnoDB
[ERROR] Aborting
Fix permissions using these 2 commands:
sudo chown -R whoami:staff /usr/local
sudo chmod u+rwX /usr/local
Then pick up with the instructions after brew install mysql
.
Achievements
112 Karma
10,391 Total ProTip Views

Charity

Forked

Walrus

PERFECT, thank you!