You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> We just need to add **Security=SSL** in connection string to have a secure connection against Db2 server in IBM Cloud.
394
394
395
-
**Note:** You can also create a KeyStore DB using GSKit command line tool and use it in connection string along with other keywords as documented in [DB2 Infocenter](http://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.admin.sec.doc/doc/t0053518.html).
395
+
**Note:** You can also create a KeyStore DB using GSKit command line tool and use it in connection string along with other keywords as documented in [DB2 Documentation](https://www.ibm.com/docs/en/db2/12.1.0?topic=ctsidc-configuring-tls-support-in-non-java-db2-clients).
396
396
397
397
- If you have created a KeyStore DB using GSKit using password or you have got _.kdb file with _.sth file:
You can refer to [ODBC and CLI Driver installation](http://www-01.ibm.com/support/docview.wss?uid=swg21418043) for details on how to install the driver manually.
Copy file name to clipboardExpand all lines: setup.py
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,7 @@ def _downloadClidriver(url):
246
246
sys.stdout.write("Auto installation of clidriver for Python Version %i.%i on Window platform is currently not supported \n"% (sys.version_info[0:2]))
247
247
sys.stdout.write("Environment variable IBM_DB_HOME is not set. Set it to your DB2/IBM_Data_Server_Driver installation directory and retry ibm_db module install.\n")
248
248
sys.stdout.flush()
249
-
sys.exit()
249
+
sys.exit(1)
250
250
cliDriver_zip=zipfile.ZipFile(file_stream)
251
251
cliDriver_zip.extractall()
252
252
else:
@@ -287,8 +287,8 @@ def print_exception( e, url):
287
287
prebuildIbmdbPYD=True
288
288
289
289
# Get version of clidriver for autodownload from environment variable CLIDRIVER_VERSION
if ((ibm_db_home=='') and (ibm_db_dir=='') and (ibm_db_lib=='')):
294
294
if('win32'notinsys.platform):
@@ -432,13 +432,14 @@ def print_exception( e, url):
432
432
ibm_db_lib=os.path.join(ibm_db_dir, libDir)
433
433
except (KeyError):
434
434
sys.stdout.write("Environment variable IBM_DB_HOME is not set. Set it to your DB2/IBM_Data_Server_Driver installation directory and retry ibm_db module install.\n")
sys.stdout.write("If you have install Db2 Runtime Client, check this comment for solution: https://github.com/ibmdb/python-ibmdb/issues/1023#issuecomment-3062805368\n")
0 commit comments