Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In all WSO2 products, you also have the option of creating datasources be simply creating a configuration file with the datasource information and storing it in the <PRODUCT_HOME>/repository/conf/datasources/ directory. For example, all WSO2 products are shipped with the default WSO2_CARBON_DB database, and the datasource that is used to connect to this database is defined in the master-datasources.xml file stored in the datasources folder. You can also create your own custom datasources by creating configuration files and storing them in the same folder. For example, see the custom-datasources.xml file. The datasources defined using configuration files can be viewed using the management console if the datasource management feature is installed. 

...

Creating datasources using the management console

Use the following steps to add a datasource:

  1. In the product management console, click Click Data Sources on the Configure tab of the management console. 
      
  2. Click Add Data Source.  
  3. Specify the required options for connecting to the database. The available options are based on the type of datasource you are creating:
    Child pages (Children Display)

...