On the client side, the default database server has the name that the $INFORMIXSERVER environment variable specifies. If shared-memory communication is used, only one connection from a client is allowed. When you no longer need a connection, close it with mi_close(). Client Example: connect1.c The following user code demonstrates the simplest way to initiate a connection to the default database server and to open a database. In this example, the name of the database to be opened is passed on the command line. The user_name and the user_password arguments to mi_open() are both passed as NULL, which indicates that the default user and password should be used.