added localhost to database conf