You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/29 08:16:40 UTC

[GitHub] [airflow] sorabhgit edited a comment on issue #17127: Airflow 2.1.0 with Schedulers HA Failing

sorabhgit edited a comment on issue #17127:
URL: https://github.com/apache/airflow/issues/17127#issuecomment-884780351


   @namjals Yes , able to perform the select and insert on the mysql db . 
   
   ```
   >>> # Get a cursor
   ... cur = cnx.cursor()
   >>>
   >>> # Execute a query
   ... cur.execute("SELECT CURDATE()")
   >>>
   >>> # Fetch one result
   ... row = cur.fetchone()
   >>> print("Current date is: {0}".format(row[0]))
   Current date is: 2021-07-22
   >>>
   >>> # Close connection
   ... cnx.close()
   >>>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org