Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Actual carbon schema is WSO2_CARBON_DB

...

Excerpt
  • master-datasources.xml

    Panel

    Edit the WSO2_CARBON_DB and WSO2AM_DB datasources in the master-datasources.xml file by replacing the url, username, password and driverClassName settings with your custom values.
     

    Expand
    titleWSO2_Carbon_DB datasource
    Code Block
    languagexml
    <datasource>
       <name>WSO2_CARBON_DB</name>
       <description>The datasource used for registry and user manager</description>
       <jndiConfig>
          <name>jdbc/WSO2CarbonDB</name>
       </jndiConfig>
       <definition type="RDBMS">
          <configuration>
             <url>jdbc:mysql://localhost:3306/WSO2CARBONWSO2_CARBON_DB</url>
             <username>wso2carbon</username>
             <password>wso2carbon</password>
             <driverClassName>com.mysql.jdbc.Driver</driverClassName>
             <maxActive>50</maxActive>
             <maxWait>60000</maxWait>
             <testOnBorrow>true</testOnBorrow>
             <validationQuery>SELECT 1</validationQuery>
             <validationInterval>30000</validationInterval>
          </configuration>
       </definition>
    </datasource>
    Expand
    titleWSO2AM_DB datasource
    Code Block
    languagexml
    <datasource>
       <name>WSO2AM_DB</name>
       <description>The datasource used for API Manager database</description>
       <jndiConfig>
          <name>jdbc/WSO2AM_DB</name>
       </jndiConfig>
       <definition type="RDBMS">
          <configuration>
             <url>jdbc:mysql://localhost:3306/WSO2AM_DB</url>
             <username>wso2carbon</username>
             <password>wso2carbon</password>
             <driverClassName>com.mysql.jdbc.Driver</driverClassName>
             <maxActive>50</maxActive>
             <maxWait>60000</maxWait>
             <testOnBorrow>true</testOnBorrow>
             <validationQuery>SELECT 1</validationQuery>
             <validationInterval>30000</validationInterval>
          </configuration>
       </definition>
    </datasource>
  • emm-datasources.xml

    Panel

    Edit the DM_DS, MobileIOSDM_DS, MobileAndroidDM_DS and MobileWindowsDM_DS datasources in the cdm-datasources.xml file by replacing the url, username, password and  driverClassName settings with your custom values.
     

    Expand
    titleDM_DS datasource
    Code Block
    languagexml
     <datasource>
       <name>DM_DS</name>
       <description>The datasource used for EMM</description>
       <jndiConfig>
          <name>jdbc/DM_DS</name>
       </jndiConfig>
       <definition type="RDBMS">
          <configuration>
             <url>jdbc:mysql://localhost:3306/WSO2DM_DB</url>
             <username>wso2carbon</username>
             <password>wso2carbon</password>
             <driverClassName>com.mysql.jdbc.Driver</driverClassName>
             <maxActive>50</maxActive>
             <maxWait>60000</maxWait>
             <testOnBorrow>true</testOnBorrow>
             <validationQuery>SELECT 1</validationQuery>
             <validationInterval>30000</validationInterval>
          </configuration>
       </definition>
    </datasource>
    Expand
    titleMobileIOSDM_DS datasource

    This datasource is specifically used to manage mobile devices on the iOS platform.

    Code Block
    languagexml
    <datasource>
       <name>MobileIOSDM_DS</name>
       <description>The datasource used for EMM Mobile iOS Device Management</description>
       <jndiConfig>
          <name>jdbc/MobileIOSDM_DS</name>
       </jndiConfig>
       <definition type="RDBMS">
          <configuration>
             <url>jdbc:mysql://localhost:3306/WSO2MobileIOS_DB</url>
             <username>wso2carbon</username>
             <password>wso2carbon</password>
             <driverClassName>com.mysql.jdbc.Driver</driverClassName>
             <maxActive>50</maxActive>
             <maxWait>60000</maxWait>
             <testOnBorrow>true</testOnBorrow>
             <validationQuery>SELECT 1</validationQuery>
             <validationInterval>30000</validationInterval>
          </configuration>
       </definition>
    </datasource>
    Expand
    titleMobileAndroidDM_DS datasource

    This datasource is specifically used to manage mobile devices on the Android platform.

    Code Block
    languagexml
    <datasource>
       <name>MobileAndroidDM_DS</name>
       <description>The datasource used for EMM Mobile Android Device Management</description>
       <jndiConfig>
          <name>jdbc/MobileAndroidDM_DS</name>
       </jndiConfig>
       <definition type="RDBMS">
          <configuration>
             <url>jdbc:mysql://localhost:3306/WSO2MobileAndroid_DB</url>
             <username>wso2carbon</username>
             <password>wso2carbon</password>
             <driverClassName>com.mysql.jdbc.Driver</driverClassName>
             <maxActive>50</maxActive>
             <maxWait>60000</maxWait>
             <testOnBorrow>true</testOnBorrow>
             <validationQuery>SELECT 1</validationQuery>
             <validationInterval>30000</validationInterval>
          </configuration>
       </definition>
    </datasource>
    Expand
    titleMobileWindowsDM_DS datasource

    This datasource is specifically used to manage mobile devices on the Windows platform.

    Code Block
    languagexml
    <datasource>
       <name>MobileWindowsDM_DS</name>
       <description>The datasource used for EMM Mobile Windows Device Management</description>
       <jndiConfig>
          <name>jdbc/MobileWindowsDM_DS</name>
       </jndiConfig>
       <definition type="RDBMS">
          <configuration>
             <url>jdbc:mysql://localhost:3306/WSO2MobileWindows_DB</url>
             <username>wso2carbon</username>
             <password>wso2carbon</password>
             <driverClassName>com.mysql.jdbc.Driver</driverClassName>
             <maxActive>50</maxActive>
             <maxWait>60000</maxWait>
             <testOnBorrow>true</testOnBorrow>
             <validationQuery>SELECT 1</validationQuery>
             <validationInterval>30000</validationInterval>
          </configuration>
       </definition>
    </datasource> 

...