From fdb1a232b3efc23bffb7c75c4e8975a60b449c8f Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Wed, 6 Nov 2024 17:46:57 +0100 Subject: correct README as REPLACE is not a privilege --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 102d867..872fa20 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,6 @@ Make sure the config file can only be read by user/group `jwebmail` when you spe CREATE TABLE session (user char(64) PRIMARY KEY, password varchar(255), timeout timestamp NOT NULL); CREATE INDEX timeout_idx ON session (timeout); -- Optional -4. Grant privileges to the user jwebmail for the above table for at least SELECT, INSERT, REPLACE, UPDATE and DELETE +4. Grant privileges to the user jwebmail for the above table for at least SELECT, INSERT, UPDATE and DELETE - GRANT SELECT, INSERT, REPLACE, UPDATE, DELETE PRIVILEGES ON 'jwebmaildb1'.'session' TO 'jwebmail'@'localhost'; + GRANT SELECT, INSERT, UPDATE, DELETE PRIVILEGES ON 'jwebmaildb1'.'session' TO 'jwebmail'@'localhost'; -- cgit v1.2.3