This section discusses some common issues that can occur at runtime.
Be sure that you have established connectivity between your client and server machines. Ask your system administrator to help set up your computer for access to the servers.
For a statically-linked application, supply the name of the database as the first parameter for the method RWDBManager::database(). Table 3 lists the database name for each supported database.
Database | Database name |
DB2 CLI | DB2CLI |
Microsoft SQL Server | MS_SQL |
MySQL | MYSQL |
ODBC | ODBC |
Oracle OCI | ORACLE_OCI |
PostgreSQL | POSTGRESQL |
Sybase | SYBASE_CT |
To run a dynamically-linked application, you must meet the requirements described in Section 2.3, "Working With Dynamic Binding."
In addition, supply the name of the access module dynamic library as the first parameter of the method RWDBManager::database(). Table 4 lists the library name for each supported database. The first library name entry applies to Windows platforms, the second to UNIX platforms. The UNIX library extension depends on the platform.
Database | Library name |
DB2 CLI | db2<ver><buildtag>.dll libdb2<ver><buildtag>.[so|sl|a] |
Microsoft SQL Server | msq<ver><buildtag>.dll |
MySQL | mys<ver><buildtag>.dll mys<ver><buildtag>.[so|sl|a] |
ODBC | odb<ver><buildtag>.dll odb<ver><buildtag>.[so|sl|a] |
Oracle OCI | oci<ver><buildtag>.dll oci<ver><buildtag>.[so|sl|a] |
PostgreSQL | pgs<ver><buildtag>.dll pgs<ver><buildtag>.[so|sl|a] |
Sybase | ctl<ver><buildtag>.dll ctl<ver><buildtag>.[so|sl|a]] |
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.