Creating a PostgreSQL Database for the Admin User
- Procedure
- Open
$OM_HOME/db/dbscripts/postgreSQL/admin/bin/postgres_admin_db.propertiesfile in a suitable editor and update the following values:Property Update the Value for PG_HOMEPostgreSQL database home PG_HOSTPostgreSQL database host PG_PORTPostgreSQL port PG_SUPER_USER_NAMEPostgreSQL superuser name PG_SUPER_USER_PASSWORDPostgreSQL superuser password PG_SUPER_USER_DATABASEPostgreSQL superuser database PG_ADMIN_USERNew admin user PG_ADMIN_PASSWORDPassword for the admin user PG_ADMIN_DATABASEadmin database name PG_ADMIN_SCHEMAadmin schema PG_ADMIN_TABLESPACE_LOCATIONadmin tablespace location PG_ADMIN_TABLESPACEadmin tablespace IS_CLOUD_PLATFORMDefault value is false. You need to set it to true if the user wants to create a database on a cloud platform. EXECUTE_DDL_DML_ONLYDefault value is false. You need to set it to true if you want to execute only DDL/DML. BASE_INSTALLATION_SCRIPTSdatabase_ddl.sql, proc_app_properties_change.sql, proc_get_timestamp.sql 5.1.0_TO_6.0.0HF0_SCRIPTSupgrade_5.1.0_to_6.0_ddl.sql, proc_app_properties_change.sql, proc_get_timestamp.sql - Save and close the file.
- Run the
$OM_HOME/db/dbscripts/postgreSQL/admin/bin/db-setup.shscript.