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 |
MS SQL Server | MS_SQL |
MySQL | MYSQL |
ODBC | ODBC |
Oracle OCI | ORACLE_OCI |
PostgreSQL | POSTGRESQL |
Sybase Client-Library | 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 library name extension is given as [dll|so], the first being for Windows, the second being for the Solaris platform. Other UNIX platforms might use a different extension for shared objects
Database | Library name |
DB2 CLI | db2<version><buildtag>.[dll|so] |
MS SQL Server | msq<version><buildtag>.[dll|so] |
MySQL | mys<version><buildtag>.[dll|so] |
ODBC | odb<version><buildtag>.[dll|so] |
Oracle OCI | oci<version><buildtag>.[dll|so] |
PostgreSQL | pgs<version><buildtag>.[dll|so] |
Sybase Client-Library | ctl<version><buildtag>.[dll|so] |
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.