I am testing code in an Airflow python shell and am connecting to a MySQL database using airflow.hooks.mysql_hook.MySqlHook. I can do the following just fine
airflow.hooks.mysql_hook.MySqlHook