Pool database build/update into single transaction, migrate MySQL
settings from old config.yml