Merge pull request #721 from baldurmen/sql_privileges

grant minimal sql privileges instead of granting all of them (fix #648)
This commit is contained in:
Morris Jobke
2018-04-09 22:13:45 +02:00
committed by GitHub

View File

@@ -82,7 +82,7 @@ Then a **mysql>** or **MariaDB [root]>** prompt will appear. Now enter the follo
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE IF NOT EXISTS nextcloud;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'username'@'localhost' IDENTIFIED BY 'password';
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON nextcloud.* TO 'username'@'localhost' IDENTIFIED BY 'password';
You can quit the prompt by entering::