title: Airflow with mysql rabbitmq-server Could not translate host name "postgres" to address: No address associated with hostname
body: <p>I'm trying to run an airflowjob scheduler with a mysql database and a rabbitmq-server.
  Everything worked before i changed database.</p>
  <p>I changed the <code>airflow.cfg</code> file to:</p>
  <pre><code>executor = CeleryExecutor
  sql_alchemy_conn = mysql://airflow:airflow@localhost:3306/airflow
  broker_url = amqp://guest:guest@localhost:5672/
  </code></pre>
  <p>After creating osme databases with mysql (I followed <a href="https://medium.com/@srivathsankr7/apache-airflow-a-practical-guide-5164ff19d18b" rel="nofollow noreferrer">this guide)</a></p>
  <p>But When I run <code>airflow scheduler</code> I get the following error:</p>
  <pre><code>sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name &quot;postgres&quot; to address: No address associated with hostname
  </code></pre>
  <p>Any ideas of what to try?</p>
  <p>edit; More info about my settings:
  I made the database with the following commands:</p>
  <pre><code>mysql -u root -p
  mysql&gt; CREATE DATABASE airflow CHARACTER SET utf8 COLLATE utf8_unicode_ci;
  mysql&gt; create user 'airflow'@'localhost' identified by 'airflow';
  mysql&gt; grant all privileges on * . * to 'airflow'@'localhost';
  mysql&gt; flush privileges;
  </code></pre>