SIEM logs not generating in MYSQL database
ERROR DESCRIPTION:- Inside the SIEMEnvision Table we are not receiving the logs.
Troubleshooting: Check the event viewer logs for SIEM Service. If we are getting the error message as "You are using the Safe update Mode and you tied to update a table without a WHERE that uses a KEY column" kindly follow the resolution steps mentioned.
Screenshot:-
RESOLUTION:-
How to fix Error Code 1175
Turn OFF "Safe Update Mode" temporary
SET SQL_SAFE_UPDATES = 0;
UPDATE options SET title= 'kiemvieclam24h' WHERE url = 'http://kiemvieclam24h.net';
SET SQL_SAFE_UPDATES = 1;
Turn OFF "Safe Update Mode" forever
Mysql workbench 8.0:
MySQL Workbench => [ Edit ] => [ Preferences ] -> [ SQL Editor ] -> Uncheck "Safe Updates"
Old version can:
MySQL Workbench => [Edit] => [Preferences] => [SQL Queries]