August 15, 2023

Creating a MySQL data source in Talend Runtime Container – Docs for ESB 6.x

Creating a MySQL data source in Talend Runtime Container

To be able to retrieve data from a MySQL database table and displays the data on
the console, you must have created a MySQL data source in Talend Runtime
Container.

You must have properly installed Talend Runtime in the machine
in which you want to execute your Job. For further information, search for
installing Talend
Runtime on Talend Help Center (https://help.talend.com).

  1. Install the MySQL JDBC driver by running the following
    bundle:install command in Talend Runtime
    Container:

  2. Install the database connection pool by running the following
    bundle:install command in Talend Runtime Container:

  3. Copy the data source configuration file
    datasource-mysql.xml under the folder
    <TalendRuntimePath>/add-ons/datasources/dataservice
    to the folder <TalendRuntimePath>/container/deploy
    and then in the file update the username and password property values required
    to connect to your database.

    Note: The property osgi.jndi.service.name in the data
    source configuration file defines the data source alias, jdbc/sample, in this example. The alias will be used in the database
    component to connect to the database defined in the data source
    configuration file when the Job is deployed in Talend Runtime.

    For more information about how to use the data source in
    Talend Runtime Container, see Talend ESB Container Administration Guide and
    Talend ESB Studio User Guide.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x