MySQL Utilities 1.4 Manual  /  ...  /  Server Commands

8.4.4. Server Commands

The server commands are used to get information about servers and set their properties, namely status, mode and weight.

  • server set_weight: Set a server's weight, which determines its likelihood of being chosen to process requests or replace a failed master. The value must be greater than 0.0 and lower or equal to 1.0.

  • server lookup_uuid: Return a server's UUID value.

  • server set_mode: Set a server's mode, which determines whether it can process read_only, read_write, or both transaction types. It can also be set to offline meaning that the server will not process any kind of user's request.

  • server set_status: Set a server's status, which determines whether it is primary, secondary, spare, or faulty.

Download this Manual
PDF (US Ltr) - 1.1Mb
PDF (A4) - 1.1Mb
EPUB - 292.9Kb
HTML Download (TGZ) - 224.3Kb
HTML Download (Zip) - 236.0Kb
User Comments
Sign Up Login You must be logged in to post a comment.