-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Description
My goal is to configure Airflow to run on my local machine, but using a MySQL instance running on Amazon RDS -- I'm using the install steps outlined on http://pythonhosted.org/airflow/installation.html.
The step for installing MySQL support is pip install airflow[mysql]. On my OSX box, the pip install fails with this error: EnvironmentError: mysql_config not found. Reading a few StackOverflow articles, it appears the mysql_config executable needs to be on the path for this install to succeed. You wouldn't expect to always find that utility on the local machine if MySQL will be running remotely.
I created a work-around by installing MySQL locally and putting this utility on my path. I suspect that may cause a problem with Airframe since the version and configuration of local vs. remote MySQL can differ.
Two suggested changes to the documentation:
(1) To run MySQL locally -- state that MySQL must be installed, and mysql_config must be on the path.
(2) To run MySQL remotely -- say what needs to be done. Maybe my workaround is the right approach, but you would be a better judge of that. For the general case, assume MySQL is not installed locally.
Thanks