You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception has occurred: AirflowConfigException
Cannot use relative path: sqlite:///C:\Users\User_Win10x64/airflow/airflow.db to connect to sqlite. Please use absolute path such as sqlite:////tmp/airflow.db.
File "D:\Work\data-engineer\dags\kafka-stream.py", line 2, in
from airflow import DAG
airflow.exceptions.AirflowConfigException: Cannot use relative path: sqlite:///C:\Users\User_Win10x64/airflow/airflow.db to connect to sqlite. Please use absolute path such as sqlite:////tmp/airflow.db.
The text was updated successfully, but these errors were encountered:
I was able to solve this error. just got to the path where the error is coming up from in your case it will be C:\Users\User_Win10x64/airflow/ and change the airflow.cfg sql_alchemy_conn parameter as sql_alchemy_conn=sqlite:////tmp/airflow.db.
Hope it helps 🤗
Exception has occurred: AirflowConfigException
Cannot use relative path:
sqlite:///C:\Users\User_Win10x64/airflow/airflow.db
to connect to sqlite. Please use absolute path such assqlite:////tmp/airflow.db
.File "D:\Work\data-engineer\dags\kafka-stream.py", line 2, in
from airflow import DAG
airflow.exceptions.AirflowConfigException: Cannot use relative path:
sqlite:///C:\Users\User_Win10x64/airflow/airflow.db
to connect to sqlite. Please use absolute path such assqlite:////tmp/airflow.db
.The text was updated successfully, but these errors were encountered: