With the MySQL® connector, you can use commands in a chain to perform structured query language (SQL) operations in MySQL database systems, such as Amazon® Aurora®. For example, with this connector, you can:
- Execute SQL commands, including a
- Retrieve details about a table in MySQL
- Insert records into a MySQL database
To enable the connection the MySQL database, the connector uses Java database connectivity (JDBC), secured with basic username and password authentication. To set up the connector, you'll need:
- A designated integration user created in the database for the connector
- The integration user's username and password
- The JDBC connection's URL, such as
- To connect to an on-premise MySQL database, a GroundRunner for the connection
Note: To connect to a cloud instance of MySQL, use the default CloudRunner.
Set up the MySQL connector
Note: To make the connector available for use in your organization's chains, an org security administrator first enables it from Configuration.
- From Chain Builder, click Connections , and then Create at the top right.
- Under BizApp Connection, select MySQL and the runner to use with the connection.
- Under Basic Info, enter a unique name and description to help identify the connection.
- Under Properties, enter the connector's details:
Property Details Username Enter the username of the connector's integration user. Password Enter the password for the Username property. Connection URL Enter the URL for the JDBC connection, such as
jdbc:mysql://<server>:<port>/database. To include optional properties for the connection, append them as a query string, such as
Note: By default, the port is
33060; however, this may be different for your environment.
Note: All sensitive credentials are automatically encrypted and stored at Advanced Encryption Standard (AES)-256 encryption. For security purposes, avoid including user credentials as optional properties within the Connection URL property.
- Select the environments to use with the connection, and click Save.
- To test the connection, create and run a chain with the connector's Get Table Definition command, and verify it returns a valid output.
If the connection to the MySQL database fails:
- Verify the integration user's authentication credentials.
- Check the URL for the JDBC connection, including its server and port.
If the connection fails to perform a command, verify its inputs—such as its SQL syntax or table—are valid.