This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Changing the RDBMS

The default database of user manager is the H2 database shipped by the WSO2 Carbon based products. You can configure it to point to databases by different vendors.

1. Add the JDBC driver to the classpath by dropping the JAR into <CARBON_HOME>/repository/components/lib.

2. Change values of properties given in on the Realm Configuration page appropriately.

3. Create the database by running the relevant script in <CARBON_HOME> /dbscript/ and start the server as:

  • For Linux:

    sh wso2server.sh
  • For Windows:

    wso2server.bat

Or start the server as:

  • For Linux:

    sh wso2server.sh -Dsetup
  • For Windows:

    wso2server.bat -Dsetup

Â