db changed to localhost