mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-25 09:13:50 +01:00
Zabbix proxy (MySQL) requires SESSION_VARIABLES_ADMIN permission
This commit is contained in:
parent
210983c5df
commit
9dc76c9b3a
@ -260,6 +260,7 @@ create_db_user_mysql() {
|
||||
fi
|
||||
|
||||
mysql_query "GRANT ALL PRIVILEGES ON $DB_SERVER_DBNAME. * TO '${DB_SERVER_ZBX_USER}'@'%'" 1>/dev/null
|
||||
mysql_query "GRANT SESSION_VARIABLES_ADMIN ON *. * TO '${DB_SERVER_ZBX_USER}'@'%'" 1>/dev/null
|
||||
}
|
||||
|
||||
create_db_database_mysql() {
|
||||
|
Loading…
Reference in New Issue
Block a user