Smarter mysql provisioning.