Fixed up database settings