Home | Previous Page | Next Page   Database Access > Handling Connections >

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. 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.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]