Installation Guides › WebLogic Version › Separate Database Configuration › Create Separate Databases › Run the SQL Scripts
Run the SQL Scripts
SQL scripts are automatically run against the databases when CA Identity Manager starts, however if you want to run the SQL scripts yourself, perform the following steps before restarting the application server:
These scripts are installed with the Identity Manager Administrative Tools.
To run the SQL scripts
- Do one of the following:
- MS SQL Server: Open the Query Analyzer tool and select the script you need.
- Oracle: Open the SQL prompt for the script you need.
- Select one of the following scripts (shown with the default Windows locations) depending on what the database was created for:
- Task Persistence:
- MS SQL: C:\Program Files\CA\Identity Manager\IAM Suite\Identity Manager\tools\db\taskpersistence\sqlserver\idm_db_sqlserver.sql
- Oracle: C:\Program Files\CA\Identity Manager\IAM Suite\Identity Manager\tools\db\taskpersistence\oracle9i\idm_db_oracle.sql
- Auditing:
- MS SQL: C:\Program Files\CA\Identity Manager\IAM Suite\Identity Manager\tools\db\auditing\sqlserver\ims_mssql_logs.sql
- Oracle: C:\Program Files\CA\Identity Manager\IAM Suite\Identity Manager\tools\db\auditing\oracle\ims_oracle_logs.sql
- Snapshots:
- MS SQL: C:\Program Files\CA\Identity Manager\IAM Suite\Identity Manager\tools\imrexport\db\sqlserver\ims_mssql_report.sql
- Oracle: C:\Program Files\CA\Identity Manager\IAM Suite\Identity Manager\tools\imrexport\db\oracle\ims_oracle_report.sql
- Workflow: Run the SQL Scripts for Workflow.
- Run the script file.
- Verify that no errors appeared when you ran the script.