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 <PRODUCT_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
and start the server as:<PRODUCT_HOME>
/dbscripts/
- 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