changing database server to localhost