From ef5e2f735dc69bd60390f4f946bb7f97cf68ef1b Mon Sep 17 00:00:00 2001 From: ron819 <40163787+ron819@users.noreply.github.com> Date: Mon, 8 Oct 2018 18:59:59 +0300 Subject: [PATCH] [AIRFLOW-XXX] Update manage-connections.rst (#4020) Explain how to connect with MySQL --- docs/howto/manage-connections.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/howto/manage-connections.rst b/docs/howto/manage-connections.rst index f869a08b3c061..a79fe0bc30b1e 100644 --- a/docs/howto/manage-connections.rst +++ b/docs/howto/manage-connections.rst @@ -133,3 +133,26 @@ Scopes (comma separated) Scopes are ignored when using application default credentials. See issue `AIRFLOW-2522 `_. +MySQL +~~~~~~~~~~~~~~~~~~~~~ +The MySQL connect type allows to connect with MySQL database. + +Configuring the Connection +'''''''''''''''''''''''''' +Host (required) + The host to connect to. + +Schema (optional) + Specify the schema name to be used in the database. + +Login (required) + Specify the user name to connect. + +Password (required) + Specify the password to connect. + +Extra (optional) + Specify the charset. Example: {"charset": "utf8"} + + .. note:: + If encounter UnicodeDecodeError while working with MySQL connection check the charset defined is matched to the database charset.