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 2022/06/21 11:37:55 UTC

[GitHub] [airflow] loyarahulDE commented on issue #11149: SQL Alchemy Conn Secret Fails to parse

loyarahulDE commented on issue #11149:
URL: https://github.com/apache/airflow/issues/11149#issuecomment-1161629490

   @kaxil not sure if this has been solved but looks like we still encounter this error working with mysql database as local executor.  
   I get this error starting airflow service after making the below changes to the airflow.cfg file. My backend database is mysql and the mysql host info us stored as secret in hashicorp vault as variable
   
   airflow.exceptions.AirflowConfigException: error: cannot use sqlite with the LocalExecutor
   
   [secrets]
   backend = airflow.providers.hashicorp.secrets.vault.VaultBackend
   backend_kwargs = {xxxx..
   }
   
   [core]
   executor = LocalExecutor
   #sql_alchemy_conn = mysql://airflow_user:xxxx
   sql_alchemy_conn_secret: "sql_alchemy_conn_value"
   


-- 
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