The following sections describe how to replace the default H2 databases with Remote H2:
Table of Contents | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Changing the product-specific/identity/service-provider databases
The topics above show how to change the WSO2_CARBON_DB
, which is used to store registry and user manager information. If you need to change the product-specific database that come by default or set up a separate database,
Add the datasource to the
master-datasources.xml
file.Create the database tables using the following script:
For the product-specific databases Use
<PRODUCT_HOME>/dbscripts/apimgt/h2.sql and
<PRODUCT_HOME>/dbscripts/bps/h2.sql
For the identity database Use
<PRODUCT_HOME>/dbscripts/identity/h2.sql
For the service-provider database Use
<PRODUCT_HOME>/dbscripts/service-provider/h2.sql