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 (Carbon 4.2.0 v2)
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.
- Add the JDBC driver for your database to the classpath by copying its JAR to
<PRODUCT_HOME>/repository/components/lib
. - Change the values of properties described on the Realm Configuration page as needed.
- Create the database by running the relevant script in theÂ
 directory and then start the server as follows:<PRODUCT_HOME>
/dbscript/
- On Linux:
sh wso2server.sh
- On Windows:
wso2server.bat
- On Linux: