When runing schem.sql script i get the following error
ERROR 1067 (42000) at line 402: Invalid default value for 'userid'
And as a result the script does not create all the tables.
Here is the listing of tables created.
mysql> SHOW TABLES;
+------------------+
| Tables_in_zabbix |
+------------------+
| actions |
| alarms |
| alerts |
| config |
| functions |
| graphs |
| graphs_items |
| groups |
| history |
| history_str |
| hosts |
| hosts_groups |
| items |
| media |
| media_type |
| services |
| services_links |
| sessions |
| sysmaps |
| sysmaps_hosts |
| sysmaps_links |
| trigger_depends |
| triggers |
| users |
+------------------+
24 rows in set (0.01 sec)
Is there a fix for this?
ERROR 1067 (42000) at line 402: Invalid default value for 'userid'
And as a result the script does not create all the tables.
Here is the listing of tables created.
mysql> SHOW TABLES;
+------------------+
| Tables_in_zabbix |
+------------------+
| actions |
| alarms |
| alerts |
| config |
| functions |
| graphs |
| graphs_items |
| groups |
| history |
| history_str |
| hosts |
| hosts_groups |
| items |
| media |
| media_type |
| services |
| services_links |
| sessions |
| sysmaps |
| sysmaps_hosts |
| sysmaps_links |
| trigger_depends |
| triggers |
| users |
+------------------+
24 rows in set (0.01 sec)
Is there a fix for this?
Comment