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.
- Add the JDBC driver to the
classpath
by dropping the JAR into the<PRODUCT_HOME>/repository/components/lib
directory. - Change values of properties given in on the Configuring the Realm page appropriately.
- Create the database by running the relevant script in the
directory and start the server using the following commands. See Working with Databases for more information on running the scripts.<PRODUCT_HOME>
/dbscripts/
For Linux:
sh wso2server.sh
For Windows:
wso2server.bat
For Linux:
sh wso2server.sh -Dsetup
For Windows:
wso2server.bat -Dsetup