Versions Compared

Key

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

...

After creating a Carbon data source, be sure to copy the JDBC driver to : <PRODUCT_HOME>/repository/components/lib directory

...

.  For example, cp mysql-connector-java-5.XX-bin.jar /home/user/wso2ds/wso2-dataservices-XX/repository/components/lib.

Next, simply use that data source at the time a data service is created. F ollow the steps in Creating Data Sources. When you You can get the Add New Datasource screen shown below on the management console by executing steps 1 to 3 in creating a data service. Then, select Carbon Data Source as the data source type at the time a data source is created, you get a drop-down list from which an existing Carbon data source can be selected. For example Datasource Type. It opens the Carbon-datasource-specific options as shown below:

To write a sample query to this data source, see Writing Data Service Queries.