This error occurred while building the table:
ERROR 1067 (42000): Invalid default value for ' Last_login '
Workaround:
Two steps:
S1.
Mysql> Show variables like ' Sql_mode ';
+---------------+---------------------------------------------------------------------------------------------- ---------------------------------------------+
| variable_name | Value |
+---------------+---------------------------------------------------------------------------------------------- ---------------------------------------------+
| sql_mode | Only_full_group_by,strict_trans_tables,no_zero_in_date,no_zero_date,error_for_division_by_zero,no_auto_create_ user,no_engine_substitution |
+---------------+---------------------------------------------------------------------------------------------- ---------------------------------------------+
S2.
Mysql> set sql_mode= ' Only_full_group_by,strict_trans_tables,error_for_division_by_zero,no_auto_create_user,no _engine_substitution ';
Query OK, 0 rows affected, 1 Warning (0.00 sec)
[1] Http://stackoverflow.com/questions/36882149/error-1067-42000-invalid-default-value-for-created-at