change database to localhost