Modify database to localhost