Generate database yml file

Generate shared db file and symlink it each time as it logs do.