change db to localhost