Set database configurations