6 Register the Cache Administration User Name and Password

In order to use the database as a cache, you must register the Oracle cache administration user name and password. Connect as the TimesTen cache administration user and call the ttCacheUidPwdSet built-in procedure.

This example connects as the cacheadmin cache administration user providing credentials in a wallet. After connection, the example calls ttCacheUidPwdSet providing the Oracle cache administration user name and password, which registers the Oracle cache administration user name and password within TimesTen.

% ttIsql "DSN=cache1;UID=cacheadmin;PwdWallet=/wallets/cacheadminwallet"
Command> call ttCacheUidPwdSet('cacheadmin','cacheadmpwd');