You can use these credentials to authenticate the following nodes:
The Agent node doesn’t support SSH tunnels.
Create a user account on a MySQL server database.
Refer to MySQL’s documentation for more information about the service.
To configure this credential, you’ll need:
To set up your database connection credential:
Enter your database’s hostname as the Host in your credential. Run this query to confirm the hostname:
Enter your database’s name as the Database in your credential. Run this query to confirm the database name:
Enter the username of a User in the database. This user should have appropriate permissions for whatever actions you want Stigg to perform.
Enter the Password for that user.
Enter the Port number used by the MySQL server (default is 3306
). Run this query to confirm the port number:
Enter the Connect Timeout you’d like the node to use. The Connect Timeout is the number of milliseconds during the initial database connection the node should wait before timing out. Stigg defaults to 10000
which is the default used by MySQL of 10 seconds. If you want to match your database’s connect_timeout
, run this query to get it, then multiply by 1000 before entering it in Stigg:
If your database uses SSL and you’d like to use SSL for the connection, turn this option on in the credential. If you turn it on, enter the information from your MySQL SSL certificate in these fields:
ca.pem
file contents in the CA Certificate field.client-key.pem
file contents in the Client Private Key field.client-cert.pem
file contents in the Client Certificate field.If you want to use SSH Tunnel for the connection, turn this option on in the credential. Otherwise, skip it. If you turn it on:
[user@]host:port
.[user@]host:port
.[user@]host:port
.ssh-identity-file
option with the shell-connect()
command in MySQL.ssh-identity-pass
option with the shell-connect()
command in MySQL. If the Private Key has no passphrase, leave this field blank.Refer to MySQL | Creating SSL and RSA Certificates and Keys for more information on working with SSL certificates in MySQL. Refer to MySQL | Using an SSH Tunnel for more information on working with SSH tunnels in MySQL.