Hi,
I have problem when I try to create or update host, I get error
I think it broke after updating to 6.0.12. (Ubuntu 20.04.5)
I tried to do
but the problem was not resolved.
But, when I added skip-grant-tables to mysql (8.0.31) config the problem does not appear.
Can I should permanently add skip-grant-tables to mysql configuration?
Best regards
Sirc
I have problem when I try to create or update host, I get error
- Error in query [UPDATE hosts SET hostid='10537',host='XXXX' ,name='XXXXX',status='0',pr oxy_hostid=NULL,tls_connect='1',tls_accept='1',tls _psk_identity='',tls_psk='',tls_issuer='',tls_subj ect='' WHERE hostid='10537'] [The user specified as a definer ('skip-grants user'@'skip-grants host') does not exist] [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerHostUpdate->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHost->update() → CHost->massUpdate() → DB::update() → DBexecute() → trigger_error() in include/db.inc.php:367]
- SQL statement execution has failed "UPDATE hosts SET hostid='10537',host='XXXXX ,name='XXXXX' ,status='0',pr oxy_hostid=NULL,tls_connect='1',tls_accept='1',tls _psk_identity='',tls_psk='',tls_issuer='',tls_subj ect='' WHERE hostid='10537'".
- SQL statement execution has failed "UPDATE hosts SET hostid='10537',host='XXXXX ,name='XXXXX' ,status='0',pr oxy_hostid=NULL,tls_connect='1',tls_accept='1',tls _psk_identity='',tls_psk='',tls_issuer='',tls_subj ect='' WHERE hostid='10537'".
I tried to do
mysql> grant all privileges on zabbix.* to 'zabbix'@'localhost';
mysql> SET GLOBAL log_bin_trust_function_creators = 1;
mysql> SET GLOBAL log_bin_trust_function_creators = 1;
But, when I added skip-grant-tables to mysql (8.0.31) config the problem does not appear.
Can I should permanently add skip-grant-tables to mysql configuration?
Best regards
Sirc
Comment