MySQL
Schema for configuring MySQL database connection parameters
Properties
Name | Type | Description | Required |
---|---|---|---|
type | string | Connection type Constant Value: "mysql" | yes |
host | string | DB host | yes |
port | integer | DB port Minimum: 1 Maximum: 65535 | yes |
database | string | DB name | yes |
user | string | DB user | yes |
password | string | DB password | no |
connect_args | object | Additional arguments to use when connecting to the DB | no |
query_args | object | Additional query string arguments to use when connecting to the DB | no |
Example
hr:
type: mysql
host: localhost
port: 3306
database: hr
user: myuser
password: mypass
connect_args:
ssl_ca: /opt/ssl/ca.crt
ssl_cert: /opt/ssl/client.crt
ssl_key: /opt/ssl/client.key
connect_args: object
Additional arguments to use when connecting to the DB
Additional Properties: allowed
query_args: object
Additional query string arguments to use when connecting to the DB
Additional Properties: allowed