database | Name of the MySQL database where data will be written. | demo | ✅ |
host | Hostname or IP address of the MySQL server. | mage.abc.us-west-2.rds.amazonaws.com | ✅ |
port | Port number used by MySQL (typically 3306). | 3306 | ✅ |
username | Username with permission to access the database and target schema. | root | ✅ |
password | Password for the MySQL user. | abc123... | ✅ |
table | Name of the destination table that Mage will write to. | dim_users_v1 | ✅ |
connection_method | Method used to connect to the MySQL server: direct or ssh_tunnel. | direct or ssh_tunnel | ✅ |
ssh_host | (Optional) Host of the bastion or jump server for SSH tunnel access. | 123.45.67.89 | ❌ |
ssh_port | (Optional) SSH port on the bastion host. Default is 22. | 22 | ❌ |
ssh_username | (Optional) SSH username for authentication. | username | ❌ |
ssh_password | (Optional) SSH password. Required if not using a private key. | password | ❌ |
ssh_pkey | (Optional) Path to or content of the private key file used for SSH authentication. | /path/to/private/key.pem | ❌ |
conn_kwargs | (Optional) Additional MySQL connection parameters in dictionary format. | {"ssl_ca": "CARoot.pem"} | ❌ |
use_lowercase | (Optional) Whether to convert all column names to lowercase. | true or false | ❌ |