I am trying to connect to a cloud based IBM DB2 database using SQLAlchemy. Using the base ibm_db python library this works : connection_string = 'DRIVER={DB2};DATABASE=BLUDB;HOSTNAME=host.databases.appdomain.cloud;PORT=port;PROTOCOL=TCPIP;UID=user;PWD=pass;SECURITY=SSL;' conn = ibm_db.connect(connection_string, '', '') However, trying to do the same using SQLAlchemy, the connect part just hangs/timeouts from sqlalchemy import create_engine import ibm_db_sa user = "user" password = "pass" host = "host.databases.appdomain.cloud" port = "port" database = "BLUDB" db2_connection_string = ( f'db2+ibm_db://{user}:{password}@{host}:{port}/{database}' ':SECURITY=SSL' ) engine = create_engine(db2_connection_string) connection = engine.connect() # timeouts here Any suggestions ? Continue reading...