feluelle edited a comment on issue #6576: [AIRFLOW-5922] Add option to specify 
the mysql client library used in MySqlHook
URL: https://github.com/apache/airflow/pull/6576#issuecomment-584570933
 
 
   ```
   root@1b70ba426ae0:/opt/airflow# python3 -c 'import hashlib; import 
mysql.connector'
   root@1b70ba426ae0:/opt/airflow# python3 -c 'import mysql.connector'
   root@1b70ba426ae0:/opt/airflow# python3 -c 'import mysql.connector; import 
MySQLdb'
   root@1b70ba426ae0:/opt/airflow# python3 -c 'import mysql.connector; import 
MySQLdb; import json'
   root@1b70ba426ae0:/opt/airflow# python3 -c 'import mysql.connector; import 
MySQLdb; from airflow.hooks.dbapi_hook import DbApiHook; import json'
   [2020-02-11 10:31:54,392] {settings.py:179} INFO - settings.configure_orm(): 
Using pool settings. pool_size=5, max_overflow=10, pool_recycle=1800, pid=174
   root@1b70ba426ae0:/opt/airflow# ls 
/usr/local/lib/python3.6/dist-packages/mysql-vendor/
   ls: cannot access '/usr/local/lib/python3.6/dist-packages/mysql-vendor/': No 
such file or directory
   ```
   (I did not remove the mysql-vendor package)
   
   **EDIT:**
   There it is 😁 
   root@1b70ba426ae0:/opt/airflow# ls 
/usr/local/lib/python3.6/site-packages/mysql-vendor/
   libcrypto.so.1.1  libssl.so.1.1
   
   Everything seems to work fine on my local breeze env:
   ```
                                  Branch name:        master
                                  Docker image:       
apache/airflow:master-python3.6-ci
                                  Airflow version:    2.0.0.dev0
                                  Python version:     3.6
                                  DockerHub user:     apache
                                  DockerHub repo:     airflow
                                  Backend:            mysql
   
   ```
   
   I ran `./breeze --force-pull-images --force-build-images`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to