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 for user management 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
Â