Sunil Mohan Adapa 0f2760fbf8
nextcloud: Improve database permission granting
- GRANT with IDENTIFIED BY is not recommended anymore by MySQL. Use separate
CREATE and GRANT statements.

- Ensure that CREATE USER only runs when the user does not exist.

- Ensure that database password is always updated with a separate ALTER USER
statement.

- Factor out database querying into a separate method.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-04-19 06:41:30 -04:00
..
2024-04-09 07:26:04 -04:00
2023-08-23 21:47:39 -04:00
2021-09-20 16:50:37 -04:00
2024-03-16 09:17:35 +02:00
2024-03-16 09:17:35 +02:00