database setup for the dbase server