wiki.techinc.nl/maintenance/users.sql

12 lines
627 B
SQL

-- 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 DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `{$wgDBname}`.*
TO '{$wgDBuser}'@'%' IDENTIFIED BY '{$wgDBpassword}';
GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `{$wgDBname}`.*
TO '{$wgDBuser}'@localhost IDENTIFIED BY '{$wgDBpassword}';
GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `{$wgDBname}`.*
TO '{$wgDBuser}'@localhost.localdomain IDENTIFIED BY '{$wgDBpassword}';