http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56323
Revision: 56323
Author: emufarmers
Date: 2009-09-14 18:40:45 +0000 (Mon, 14 Sep 2009)
Log Message:
-----------
Follow up to r56285: just grant all rights to the installer-created database
user.
Modified Paths:
--------------
trunk/phase3/RELEASE-NOTES
trunk/phase3/maintenance/users.sql
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES 2009-09-14 18:22:43 UTC (rev 56322)
+++ trunk/phase3/RELEASE-NOTES 2009-09-14 18:40:45 UTC (rev 56323)
@@ -497,8 +497,8 @@
* (bug 482) Don't include TOC in the printable version if it has been hidden
* Adjust the time according to the user configuration on Special:Revisiondelete
* (bug 20624) Installation no longer allows "qqq" as the chosen language
-* (bug 20634) The installer-created database user will now have CREATE TABLE
- and ALTER TABLE rights so that upgrades will go more smoothly.
+* (bug 20634) The installer-created database user will now have all rights on
+ the database so that upgrades will go more smoothly.
* (bug 18180) Special:Export ignores limit, dir, offset parameters
== API changes in 1.16 ==
Modified: trunk/phase3/maintenance/users.sql
===================================================================
--- trunk/phase3/maintenance/users.sql 2009-09-14 18:22:43 UTC (rev 56322)
+++ trunk/phase3/maintenance/users.sql 2009-09-14 18:40:45 UTC (rev 56323)
@@ -4,9 +4,9 @@
-- from local settings.
--
-GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES,CREATE TABLE,ALTER
TABLE ON `{$wgDBname}`.*
+GRANT * ON `{$wgDBname}`.*
TO '{$wgDBuser}'@'%' IDENTIFIED BY '{$wgDBpassword}';
-GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES,CREATE TABLE,ALTER
TABLE ON `{$wgDBname}`.*
+GRANT * ON `{$wgDBname}`.*
TO '{$wgDBuser}'@localhost IDENTIFIED BY '{$wgDBpassword}';
-GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES,CREATE TABLE,ALTER
TABLE ON `{$wgDBname}`.*
+GRANT * ON `{$wgDBname}`.*
TO '{$wgDBuser}'@localhost.localdomain IDENTIFIED BY '{$wgDBpassword}';
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs