# tMysqlConfiguration

Stores connection information and credentials to be reused by other MySQL components.

You configure the connection to a MySQL database in tMysqlConfiguration and configure the other MySQL components to reuse this configuration. At runtime, the Spark executors read this configuration in order to connect to MySQL.

### In this section

* [tMysqlConfiguration properties for Apache Spark Batch](https://help.qlik.com/talend/en-US/components/8.0/mysql/tmysqlconfiguration-properties-for-apache-spark-batch)
* [tMysqlConfiguration properties for Apache Spark Streaming (deprecated)](https://help.qlik.com/talend/en-US/components/8.0/mysql/tmysqlconfiguration-properties-for-apache-spark-streaming)