From 51aa3c1da5c5779956b9b3c7788b63331f820f7f Mon Sep 17 00:00:00 2001 From: Shabbir Mohammad Date: Wed, 30 Sep 2020 06:17:45 -0700 Subject: [PATCH] Remove NPS host server name from README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9c427c..9bd36f4 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,9 @@ Below are the securityLevel you can pass in connection string : ## Connection String Use connect to create a database connection with connection parameters: ``` -conn = nzpy.connect(user="admin", password="password",host='vmnps-dw10.svl.ibm.com', port=5480, database="db1", securityLevel=3, logLevel=0, ssl = {'ca_certs' : '/nz/cacert.pem'}) +conn = nzpy.connect(user="admin", password="password",host='localhost', port=5480, database="db1", securityLevel=3, logLevel=0, ssl = {'ca_certs' : '/nz/cacert.pem'}) ``` -The above example opens a database handle on NPS server 'vmnps-dw10.svl.ibm.com'. nzpy driver should connect on port 5480(postgres port). The user is admin, password is password, database is db1 and the location of the ca certificate file is /nz/cacert.pem with securityLevel as 'Only Secured session' +The above example opens a database handle on localhost. nzpy driver should connect on port 5480(postgres port). The user is admin, password is password, database is db1 and the location of the ca certificate file is /nz/cacert.pem with securityLevel as 'Only Secured session' **Connection Parameters** When establishing a connection using nzgo you are expected to supply a connection string containing zero or more parameters. Below are subset of the connection parameters supported by nzgo.