API: Various docu and clean-up.
[mediawiki.git] / maintenance / users.sql
blob755bf9f7007ddf8e1f23c84f1c0a1eb0a4574cfd
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 --
7 GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `{$wgDBname}`.*
8  TO '{$wgDBuser}'@'%' IDENTIFIED BY '{$wgDBpassword}';
9 GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `{$wgDBname}`.*
10  TO '{$wgDBuser}'@localhost IDENTIFIED BY '{$wgDBpassword}';
11 GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `{$wgDBname}`.*
12  TO '{$wgDBuser}'@localhost.localdomain IDENTIFIED BY '{$wgDBpassword}';