Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 288651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:50:12+00:00 2026-05-12T05:50:12+00:00

I need to connect to an Ingres supplied demodb through OpenAPI, both Ingres and

  • 0

I need to connect to an Ingres supplied demodb through OpenAPI, both Ingres and C application running on windows. What i have done:

  1. Created a “node” in the Ingres Network Utility named “usernode”.
  2. created user accounts in the Ingres installation (named “user” password “user”) and in the Windows user management (the same creds.)
  3. Granted necessary privileges to the user in the database.
  4. 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”

But IIapi_connect() call returns an error:

“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.”

Anybody knows something that is a weird concept “node”?

What are the minimum steps (in the database administration and the function parameters passing) necessary for the successful connect?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:50:12+00:00Added an answer on May 12, 2026 at 5:50 am

    You get the following error because your user id has not been added to the server.

    “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.”

    I am guessing that the user id being passed across is defined in the virtual node (aka vnode) definition and it’s that user that needs to be added to the user list on the server. The following will add a user from the command line, change USERNAME to the username you wish to add:

    For Windows:

    echo "create user USERNAME\g" | sql iidbdb
    

    For UNIX/Linux/OS X:

    sql iidbdb <<EOSQL
    create user USERNAME\g
    \q
    

    Alternatively you can use a dynamic vnode in your connection such that co_target specifies all the connection information (including user details):

    @server,protocol,listen_address[user,password]::database
    

    for example

    @localhost,tcp_ip,II[ingres,secret]::iidbdb
    

    If you want to see a working example of OpenAPI code for Ingres take a look at the Ingres PECL extension.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to connect to a Bluetooth device through virtual COM port created in
I need to connect to a remote MySQL database and have created the following
I have a need to connect to a WCF service I wrote without having
Here's the situation: we have an Oracle database we need to connect to to
I have some settings I need in a Javascript file -- servers to connect
I need to connect to Oracle9,10 and 11 in my java application.The client will
I need to connect to some Amazon EC2 instances through php's ssh2 functions to
I have three TCP servers I need to connect to, each with different protocols,
I am running a LAMP server but now need to connect to MS SQL
I need to connect a symbian mobile to my application to do a transfer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.