[Django]-NameError: name '_mysql' is not defined — On airflow start in MacOSX

6👍

https://newbedev.com/nameerror-name-mysql-is-not-defined-after-setting-change-to-mysql

The above link helped me

pip install mysql-client
export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$PATH"

Leave a comment