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: