Update mysql-connector-java to version 5.1.32. Change build.sh to copy local.php.dist to that the metaserver works on Vagrant.