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 with 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 <PRODUCT_HOME>/repository/components/lib
.
2. Change values of the properties described on the Realm Configuration page as needed.
3. Create the database by running the relevant script in
and start the server as follows:<PRODUCT_HOME>
/dbscript/
- 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