Write database.yml on the shared folder