Initializing a client connection
Before a client LIBMI application can establish a connection, it must initialize the connection with the name of the database server and database to which it needs to connect.
About this task
This initialization occurs in the following steps.
Connection-initialization steps | DataBlade® API task | |
---|---|---|
1. | Indicate the database server to which you want to connect. | Set connection parameters in the connection-information descriptor. |
2. | Indicate the database to which you want to connect and the user you want to log in as. | Set database parameters in the database-information descriptor. |
3. | Indicate settings for session-specific features (optional). | Set session parameters in the parameter-information descriptor. |