]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - maintenance/users.sql
MediaWiki 1.16.0-scripts
[autoinstalls/mediawiki.git] / maintenance / users.sql
1 -- SQL script to create required database users with proper
2 -- access rights.  This is run from the installation script
3 -- which replaces the password variables with their values
4 -- from local settings.
5 --
6
7 GRANT ALL PRIVILEGES ON `{$wgDBname}`.*
8  TO '{$wgDBuser}'@'%' IDENTIFIED BY '{$wgDBpassword}';
9 GRANT ALL PRIVILEGES ON `{$wgDBname}`.*
10  TO '{$wgDBuser}'@localhost IDENTIFIED BY '{$wgDBpassword}';
11 GRANT ALL PRIVILEGES ON `{$wgDBname}`.*
12  TO '{$wgDBuser}'@localhost.localdomain IDENTIFIED BY '{$wgDBpassword}';