Important: This repo is no longer under active maintainance. I use Docker instead for a while. But feel free to Fork or send a PR for changes.
Vagrant box with Ubuntu 14.04 LTS and MySQL 5.6, where the database data stays on the host and is mounted as VirtualBox shared folder as user mysql.
Just point your own mysql directory in
config.vm.synced_folder "/path/on/you/machine/to/mysql/data", "/var/lib/mysql/vagrant", id: "mysql", [...]