To create tables and write data to your new CEaps database, the install.sh
script needs to establish a native connection to the database server. That is, when you log on to UNIX with the user name crystal
to perform the installation, the default shell environment must include the appropriate database environment variables and/or initialization files. Only then can the installation script access the CEaps database using your database client software.
The environment variables and/or files required by the install.sh
script depend upon the type of database server you are running:
ORACLE_HOME
environment variable. This standard Oracle environment variable must be set in order for the install.sh
script to utilize the Oracle client software.
DB2DIR
environment variable. This standard DB2 environment variable must be set in order for the install.sh
script to utilize the DB2 client software.
Additional database environment variables must be set in order for the installation script to use the database client software properly. Before running the installation script, test the shell environment of the new crystal
user to verify database connectivity and privileges. See the procedure that corresponds to your database.
Note: Consult your database documentation and/or your database administrator if the crystal
user's shell environment has not yet been set up for your database client software, or if you are unable to connect successfully to the database.
crystal
user account.
This example checks the required variables and shows sample output values.
/usr/bin:/usr/ucb:/etc:.:/opt/oracle/817/bin
sqlplus
If the shell environment has been configured correctly, you are prompted for an Oracle user name.
crystal
and, when prompted, provide the user's password.
Tip: If you cannot connect in this manner, you may need to connect to Oracle through a service name. See To verify Oracle native connectivity through a service name.
crystal
user account has permission to create tables:
create table sampletable (field1 char(10));
crystal
user account has permission to delete tables:
drop table sampletable;
exit
crystal
user account.
This example checks the required variables and shows sample output values.
/usr/bin:/usr/ucb:/etc:.:/opt/oracle/817/bin
sqlplus crystal/
password@
servicename
Replace password and servicename with the appropriate values. If the shell environment has been configured correctly, you are connected to Oracle.
crystal
user account has permission to create tables:
create table sampletable (field1 char(10));
crystal
user account has permission to delete tables:
drop table sampletable;
exit
crystal
user account.
This example checks the required variables and shows sample output values.
/export/home/db2inst1/sqllib/lib
/usr/bin:/usr/ucb:/etc:.:/export/home/db2inst1/sqllib/adm:/export/home/db2inst1/sqllib/misc
db2
connect to db_alias user crystal using password
Replace db_alias and password with the appropriate values. If the shell environment has been configured correctly, you are connected to DB2.
crystal
user account has permission to create tables:
create table sampletable (col_fld char(10) not null)
crystal
user account has permission to delete tables:
drop table sampletable
terminate
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |