Configuring datasource in Talend Runtime
To use datasource in Talend Runtime, you need to install the MySQL driver in to a container and set the datasource configuration file.
To do so, start a Talend Runtime container first. For more information about how to install Talend ESB Runtime and how to start Talend Runtime container, see Installing Talend Runtime and Running Talend ESB Container.
Installing MySQL driver into a container
To use the MySQL database, its corresponding JDBC driver need to be explicitly
installed into the container before installing the datasource. You can install the MySQL
driver from a public Maven repository.
Procedure
In a Talend
Runtime container, run the following command (change the database version numbers
if applicable):
MySQL 5.x
bundle:install mvn:mysql/mysql-connector-java/5.1.18
MySQL
8.x
bundle:install mvn:mysql/mysql-connector-java/8.0.27
For more information on how to install the H2, Oracle, DB2, SQL Server, and
PostgreSQL JDBC drivers into a container, see DataSource Installation.