IfxPy/IfxPyDbi
, a Python library that allows you to use Python code to run SQL commands on the Informix database.
The required arguments to establish a connection are as follows:
user
is the username associated with database.password
is the password to authenticate your access.host
is the hostname or IP address of the server.port
is the port through which TCP/IP connection is to be made.database
is the database name to be connected.schema_name
is the schema name to get tables.server
is the name of server you want connect.logging_enabled
defines whether logging is enabled or not. Defaults to True
if not provided.IfxPy
. As it is in development stage, it can be install using pip install IfxPy
. However, it doesn’t work with higher versions of Python, therefore, you have to build it from source.On Linux
onedb-ODBC
driver used to make connection:.bashrc
file:IfxPy
repo, builds a wheel, and installs it:On Windows
onedb-ODBC
driver used to make connection:%INFORMIXDIR%\bin
to the PATH environment variable.
IfxPy
repo, builds a wheel, and installs it: