Adding localhost to database config file.