Fix SQL creation of user and move log anaysis to use python systemd - journal lib

This commit is contained in:
2025-04-03 20:15:41 +01:00
parent da71021889
commit 3b0b574171
2 changed files with 117 additions and 17 deletions

View File

@@ -91,4 +91,7 @@ CREATE TABLE IF NOT EXISTS `time` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
grant all privileges on mailstats.* to 'mailstats'@'localhost' identified by 'mailstats';
CREATE USER 'mailstats'@'localhost' IDENTIFIED BY 'mailstats';
GRANT ALL PRIVILEGES ON mailstats.* TO 'mailstats'@'localhost';
FLUSH PRIVILEGES;