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

By default, the H2 database included with WSO2 Carbon products is used as the User Management database, but you can configure a database by a different vendor as the User Management database as described below.

  1. Add the JDBC driver for your database to the classpath by copying its JAR to <PRODUCT_HOME>/repository/components/lib.
  2. Change the values of properties described on the Realm Configuration page as needed.
  3. Create the database by running the relevant script in the <PRODUCT_HOME>/dbscript/ directory and then start the server as follows:
    • On Linux: sh wso2server.sh
    • On Windows: wso2server.bat