mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
2.2 KiB
2.2 KiB
| title | description | contentType |
|---|---|---|
| MySQL credentials | Documentation for MySQL credentials. Use these credentials to authenticate MySQL in n8n, a workflow automation platform. | integration |
MySQL credentials
You can use these credentials to authenticate the following nodes:
/// note | Agent node users The Agent node doesn't support tunnels ///
Prerequisites
Create a user account on a MySQL{:target=_blank .external-link} server database.
Supported authentication methods
- Database connection
Related resources
Refer to MySQL's documentation{:target=_blank .external-link} for more information about the service.
Using Database Connection
To configure this credential, you'll need:
- The server Host: The host name or IP address the database is hosted on.
- The Database name
- A User name: The user should have appropriate access privileges.
- A Password for that user
- The Port number: The port number used by the MySQL server (default is 3306).
- The Connect Timeout: The number of milliseconds during the initial database connection before a timeout occurs.
- Whether to use SSL for the connection: if turned on, also enter:
- The SSL CA Certificate
- The Client Private Key
- The Client Certificate
- Whether to use SSH Tunnel: if turned on, also enter:
- Select the SSH Authenticate with either
PasswordorPrivate Key - The SSH Host
- The SSH Port
- The SSH MySQL Port
- The SSH User
- If you selected Password for SSH Authenticate with, add the SSH Password.
- If you selected Private Key for SSH Authenticate with, add the Private Key and Passphrase.
- Select the SSH Authenticate with either
Refer to MySQL Using Encrypted Connections documentation{:target=_blank .external-link} for more information on SSL and SSH.