So far, I have spent 4 hours on this to the point I have removed mysql and zabbix and performed a fresh install. It still does not work.
Per the documentation: Download page, Section 2 d. mysql> grant all privileges on zabbix.* to zabbix@localhost;
The result:
mysql> show grants for zabbix@localhost;
+-------------------------------------------------------------------------------------------+
| Grants for zabbix@localhost |
+-------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO `zabbix`@`localhost` |
| GRANT ALL PRIVILEGES ON `zabbix`.* TO `zabbix`@`localhost` |
| GRANT ALL PRIVILEGES ON `zabbix`.`db` TO `zabbix`@`localhost` |
+--------------------------------------------------------------------------------------------+
3 rows in set (0.00 sec)
Next step:
# zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -u zabbix -p zabbix
Enter password:
ERROR 1419 (HY000) at line 2119: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable).
I have only been successful in setting the Super privilege once. Now, if I try to run the zcat again, I get:
ERROR 1050 (42S01) at line 1: Table 'role' already exists.
I get in this endless loop of dropping tables, creating tables, not having the correct permissions, etc.
Anyone else run into this? Can anyone please help?
Per the documentation: Download page, Section 2 d. mysql> grant all privileges on zabbix.* to zabbix@localhost;
The result:
mysql> show grants for zabbix@localhost;
+-------------------------------------------------------------------------------------------+
| Grants for zabbix@localhost |
+-------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO `zabbix`@`localhost` |
| GRANT ALL PRIVILEGES ON `zabbix`.* TO `zabbix`@`localhost` |
| GRANT ALL PRIVILEGES ON `zabbix`.`db` TO `zabbix`@`localhost` |
+--------------------------------------------------------------------------------------------+
3 rows in set (0.00 sec)
Next step:
# zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -u zabbix -p zabbix
Enter password:
ERROR 1419 (HY000) at line 2119: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable).
I have only been successful in setting the Super privilege once. Now, if I try to run the zcat again, I get:
ERROR 1050 (42S01) at line 1: Table 'role' already exists.
I get in this endless loop of dropping tables, creating tables, not having the correct permissions, etc.
Anyone else run into this? Can anyone please help?
Comment