summaryrefslogtreecommitdiff
path: root/maintenance/users.sql
blob: 1db32ae2653e5872c4e44e7c7ceaeaf0e393a98f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- SQL script to create required database users with proper
-- access rights.  This is run from the installation script
-- which replaces the password variables with their values
-- from local settings.
--

GRANT ALL PRIVILEGES ON `{$wgDBname}`.*
 TO '{$wgDBuser}'@'%' IDENTIFIED BY '{$wgDBpassword}';
GRANT ALL PRIVILEGES ON `{$wgDBname}`.*
 TO '{$wgDBuser}'@localhost IDENTIFIED BY '{$wgDBpassword}';
GRANT ALL PRIVILEGES ON `{$wgDBname}`.*
 TO '{$wgDBuser}'@localhost.localdomain IDENTIFIED BY '{$wgDBpassword}';