How to browse the H2 database of WSO2 products?

How to browse the H2 database of WSO2 products? 

 

1. Go to the CARBON_HOME/repository/config
2. Open the carbon.xml file.
3. Enable the H2DatabaseConfiguration as follows.
<H2DatabaseConfiguration>
        <property name="web"/>
        <property name="webPort">8082</property>
        <property name="webAllowOthers"/>        
</H2DatabaseConfiguration>

4. Start the the server.
5. Locate your browser to http://localhost:8082 

Fill the JDBC URL, user name and password as follows.

JDBC URL : jdbc:h2:<file path to CARBON_HOME>/repository/database/WSO2CARBON_DB
user name : wso2carbon
password  : wso2carbon

Post a Comment

Previous Post Next Post