Verify DB2 Native Connectivity Through a Database Alias (UNIX Only)

To verify DB2 native connectivity through a database alias

  1. Log in to the UNIX server with the user account and password which you will use to do your install.

    Note: This account should already be set up. See Create an Account, a Home Directory, and a Login Environment for more information about setting up a UNIX account to use when you install BusinessObjects Enterprise.

  2. Echo the following environment variables and ensure that their values correspond to your database client software installation.

    This example checks the required variables and shows sample output values.

    $ echo $DB2INSTANCE
    db2inst1
    $ echo $DB2DIR
    /opt/IBMdb2/V7.1
    $ echo $LD_LIBRARY_PATH
    /export/home/db2inst1/sqllib/lib
    $ echo $PATH
    /usr/bin:/usr/ucb:/etc:.:/export/home/db2inst1/sqllib/adm:/ex
    port/home/db2inst1/sqllib/misc
    
  3. Issue the following command to run the DB2 SQL tool:
    db2
    
  4. Issue the following command to connect to the desired database alias:
    connect to db_alias user accountname using password
    

    Replace db_alias and password with the appropriate values. If the shell environment has been configured correctly, you are connected to DB2.

  5. Issue the following command to ensure that the account has permission to create tables:
    create table sampletable (col_fld char(10) not null)
    
  6. Issue the following command to ensure that the account has permission to delete tables:
    drop table sampletable
    
  7. Type terminate.
MySQL Database Requirements

If you are using your own MySQL installation for the CMS or auditing database, use a Unicode character set, such as UTF-8. Once the database is created, you must prepare it for the BusinessObjects Enterprise installation.

More information:

Prepare an Existing Database Server


Copyright © 2010 CA. All rights reserved. Email CA about this topic