From: jon
Date: November 13 2008 5:15pm
Subject: svn commit - mysqldoc@docsrva: r12460 - trunk/refman-6.0
List-Archive: http://lists.mysql.com/commits/58683
Message-Id: <200811131715.mADHFcQQ020880@docsrva.mysql.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jstephens
Date: 2008-11-13 18:15:37 +0100 (Thu, 13 Nov 2008)
New Revision: 12460
Log:
You can't set max_connections=0 (Thanks, Flupps!)
Modified:
trunk/refman-6.0/replication-solutions.xml
Modified: trunk/refman-6.0/replication-solutions.xml
===================================================================
--- trunk/refman-6.0/replication-solutions.xml 2008-11-13 17:11:20 UTC (rev 12459)
+++ trunk/refman-6.0/replication-solutions.xml 2008-11-13 17:15:37 UTC (rev 12460)
Changed blocks: 3, Lines Added: 12, Lines Deleted: 24; 2626 bytes
@@ -1557,20 +1557,6 @@
the one you are using to perform tasks on C relating
to the software upgrade.
-
-
- You can prevent any application clients from
- reconnecting to C by executing the following
- statement:
-
-
-SET @@GLOBAL.MAX_CONNECTIONS = 0;
-
-
- Once this has been done, only a single client,
- having the SUPER
- privilege, may connect to C.
-
@@ -1760,12 +1746,13 @@
Start server C', insuring that all its tables are in
- read-only mode, and that no MySQL clients (with the
- exception of a single connection from a superuser account)
- can connect to it. You can do this by starting
- mysqld with the options
- . (For
- more information about these options, see
+ read-only mode. You can do this by starting
+ mysqld with the
+ option. Using this option
+ allows only slave threads or clients having the
+ SUPER privilege to perform
+ any updates on the server. (For more information about
+ this option, see
.)
@@ -1949,10 +1936,11 @@
This can be done by setting
- @@GLOBAL.MAX_CONNECTIONS to an
- appropriate value, thereby permitting regular clients not
- having the SUPER privilege
- once again to connect.
+ @@GLOBAL.READ_ONLY to
+ 0 or OFF, thereby
+ permitting regular clients other than those having the
+ SUPER privilege once again
+ to connect.