Skip to content

Commit

Permalink
Give wiki_user DROP privileges on wiki_db, as is required whenever th…
Browse files Browse the repository at this point in the history
…e database is replaced wholesale.
  • Loading branch information
bemasc committed Sep 11, 2010
1 parent a5dcada commit f0514eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay/usr/share/innobox-wiki/prepareWikiUser.sql
Expand Up @@ -2,5 +2,5 @@
# The password field is set to a placeholder that is easily substituted
# using python's string processing functions.
create database wiki_db;
grant index, create, select, insert, update, delete, alter, lock tables on wiki_db.* to 'wiki_user'@'localhost' identified by '%(WIKI_PASSWORD)s';
grant drop, index, create, select, insert, update, delete, alter, lock tables on wiki_db.* to 'wiki_user'@'localhost' identified by '%(WIKI_PASSWORD)s';

0 comments on commit f0514eb

Please sign in to comment.