The default database of the user manager is the H2 database shipped by the WSO2 Carbon - based products. You can configure it to point to databases of by different vendors.Follow the instructions below to change the RDBMS.
1. Add the JDBC driver to the classpath
by dropping the jar JAR into IS<CARBON_HOMEHOME>/repository/components/lib
.
2. Change the values of the properties described here under the the main properties of the user properties given in on the Realm Configuration page appropriately.
3. Create the database by running the relevant script in IS
and starting start the server as:<CARBON_
HOMEHOME>
/dbscript/
- For Linux:
Code Block |
---|
sh wso2server.sh |
...
- For Windows:
Code Block |
---|
wso2server.bat |
...
OR
...
Or start the server as:
- For Linux:
Code Block |
---|
sh wso2server.sh -Dsetup |
...
- For Windows:
Code Block |
---|
wso2server.bat -Dsetup |
...
Excerpt | ||
---|---|---|
| ||
Instructions on how to change the RDBMS in the WSO2 Carbon-based products. |