Repository: incubator-airflow
Updated Branches:
  refs/heads/master 11e670ddb -> d5d97dc97


[AIRFLOW-2536] docs about how to deal with airflow initdb failure

Add docs to faq.rst to talk about how to deal with
Exception: Global variable
explicit_defaults_for_timestamp needs to be on (1)
for mysql

Closes #3429 from milton0825/fix-docs


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/d5d97dc9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/d5d97dc9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/d5d97dc9

Branch: refs/heads/master
Commit: d5d97dc9719fd71625d8d252315ec01c7415c11a
Parents: 11e670d
Author: Chao-Han Tsai <ct...@lyft.com>
Authored: Tue May 29 20:27:28 2018 +0100
Committer: Kaxil Naik <kaxiln...@apache.org>
Committed: Tue May 29 20:29:27 2018 +0100

----------------------------------------------------------------------
 docs/faq.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d5d97dc9/docs/faq.rst
----------------------------------------------------------------------
diff --git a/docs/faq.rst b/docs/faq.rst
index 53242e4..d2c6188 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -161,3 +161,11 @@ How can we reduce the airflow UI page load time?
 ------------------------------------------------
 
 If your dag takes long time to load, you could reduce the value of 
``default_dag_run_display_number`` configuration in ``airflow.cfg`` to a 
smaller value. This configurable controls the number of dag run to show in UI 
with default value 25.
+
+How to fix Exception: Global variable explicit_defaults_for_timestamp needs to 
be on (1)?
+---------------------------------------------------------------------------------------------
+
+This means ``explicit_defaults_for_timestamp`` is disabled in your mysql 
server and you need to enable it by:
+
+#. Set ``explicit_defaults_for_timestamp = 1`` under the mysqld section in 
your my.cnf file.
+#. Restart the Mysql server.

Reply via email to