1 Answer
- Newest
- Most votes
- Most comments
0
The name of the parameter is conn_id
[1] not mysql_conn_id
--the latter is the example string[2].
mysql_hook = MySqlHook(conn_id='test')
[1] https://github.com/apache/airflow/blob/v2-0-stable/airflow/hooks/base.py#L62C16-L62C23
[2] https://github.com/apache/airflow/blob/v2-0-stable/airflow/providers/mysql/hooks/mysql.py#L42
answered 6 months ago
Relevant content
- asked 7 months ago
- asked 5 months ago
- asked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago