Skip to content

Commit b8be322

Browse files
ron819r39132
authored andcommitted
[AIRFLOW-XXX] Update manage-connections.rst (#4020)
Explain how to connect with MySQL
1 parent 6d9f4e8 commit b8be322

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/howto/manage-connections.rst

+23
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,26 @@ Scopes (comma separated)
133133
Scopes are ignored when using application default credentials. See
134134
issue `AIRFLOW-2522
135135
<https://issues.apache.org/jira/browse/AIRFLOW-2522>`_.
136+
MySQL
137+
~~~~~~~~~~~~~~~~~~~~~
138+
The MySQL connect type allows to connect with MySQL database.
139+
140+
Configuring the Connection
141+
''''''''''''''''''''''''''
142+
Host (required)
143+
The host to connect to.
144+
145+
Schema (optional)
146+
Specify the schema name to be used in the database.
147+
148+
Login (required)
149+
Specify the user name to connect.
150+
151+
Password (required)
152+
Specify the password to connect.
153+
154+
Extra (optional)
155+
Specify the charset. Example: {"charset": "utf8"}
156+
157+
.. note::
158+
If encounter UnicodeDecodeError while working with MySQL connection check the charset defined is matched to the database charset.

0 commit comments

Comments
 (0)