Background documentation-10857: Missing database name for connection Locate this document in the navigation structure

 

Explanation

An attempt was made to connect to the database using the SQLDBC_Connection::connect method, but no name was specified for the database instance.

User Response

Enter the name of the database instance in the properties of the SQLDBC_Connection::connect method:

  • f you want to establish the connection using the KEY property, use the XUSER list command to check whether an XUSER entry exists for the database instance.

  • If you want to establish the connection using the KEY=SQLOPT property, check whether the -d <database_name> option was set in the SQLOPT environment variables.