Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following sections describe how to replace the default H2 database with MySQL:

Table of Contents

Include Page
Shared:Setting up MySQL (V1)
Shared:Setting up MySQL (V1)

Changing the product-specific/identity databases

The topics above show how to change the  WSO2CARBON_DB , which is used to store registry and user manager information. If you changed the product-specific database (WSO2_RSS_DB) that comes by default or set up a separate database for identity related data, the instructions are the same. In summary:

  1. Add the datasource to the master-datasources.xml file. The datasource for the product-specific database is already there in the file by the name WSO2_RSS_DB. Change its elements with your custom values.

  2. Create the database tables using the following scripts:   

    For the product-specific database

    Use the scripts in <PRODUCT_HOME>/dbscripts/rss-manager/ folder

    For the identity database

    Use the scripts in <PRODUCT_HOME>/dbscripts/identity/ folder