title: Connecting Ingres from C
body: <p>I need to connect to an Ingres supplied demodb through OpenAPI, both Ingres and C application running on windows. What i have done:</p>
  
  <ol>
  <li>Created a "node" in the Ingres Network Utility named "usernode".</li>
  <li>created user accounts in the Ingres installation (named "user" password "user") and in the Windows user management (the same creds.)</li>
  <li>Granted necessary privileges to the user in the database.</li>
  <li>In C code i have called IIapi_connect() function with an IIAPI_CONNPARM structure.
  Used members:
  co_target = "usernode::demodb",
  co_username = "user",
  co_password = "user"</li>
  </ol>
  
  <p>But IIapi_connect() call returns an error:</p>
  
  <p>"User provided a vnode as part of the database name (vnode::dbname), but connection information for that vnode is missing. Enter connection information for the vnode using NETUTIL."</p>
  
  <p>Anybody knows something that is a weird concept "node"?</p>
  
  <p>What are the minimum steps (in the database administration and the function parameters passing) necessary for the successful connect?</p>