mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-08 11:07:58 +00:00
Added --slave-user & --slave pass to all scripts
The fix has been applied to all files using MasterSlave pkg Changes to be committed: modified: bin/pt-archiver modified: bin/pt-heartbeat modified: bin/pt-kill modified: bin/pt-query-digest modified: bin/pt-slave-find modified: bin/pt-slave-restart modified: bin/pt-table-checksum
This commit is contained in:
@@ -7771,6 +7771,22 @@ stop archiving and exit. The default is /tmp/pt-archiver-sentinel. You
|
||||
might find this handy to stop cron jobs gracefully if necessary. See also
|
||||
L<"--stop">.
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
||||
Sets the user to be used to connect to the slaves.
|
||||
This parameter allows you to have a different user with less privileges on the
|
||||
slaves but that user must exist on all slaves.
|
||||
|
||||
=item --slave-password
|
||||
|
||||
type: string
|
||||
|
||||
Sets the password to be used to connect to the slaves.
|
||||
It can be used with --slave-user and the password for the user must be the same
|
||||
on all slaves.
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: Array
|
||||
|
@@ -6882,6 +6882,22 @@ type: string; default: /tmp/pt-heartbeat-sentinel
|
||||
|
||||
Exit if this file exists.
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
||||
Sets the user to be used to connect to the slaves.
|
||||
This parameter allows you to have a different user with less privileges on the
|
||||
slaves but that user must exist on all slaves.
|
||||
|
||||
=item --slave-password
|
||||
|
||||
type: string
|
||||
|
||||
Sets the password to be used to connect to the slaves.
|
||||
It can be used with --slave-user and the password for the user must be the same
|
||||
on all slaves.
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: Array
|
||||
|
16
bin/pt-kill
16
bin/pt-kill
@@ -7718,6 +7718,22 @@ The presence of the file specified by L<"--sentinel"> will cause all
|
||||
running instances of pt-kill to exit. You might find this handy to stop cron
|
||||
jobs gracefully if necessary. See also L<"--stop">.
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
||||
Sets the user to be used to connect to the slaves.
|
||||
This parameter allows you to have a different user with less privileges on the
|
||||
slaves but that user must exist on all slaves.
|
||||
|
||||
=item --slave-password
|
||||
|
||||
type: string
|
||||
|
||||
Sets the password to be used to connect to the slaves.
|
||||
It can be used with --slave-user and the password for the user must be the same
|
||||
on all slaves.
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: Array
|
||||
|
@@ -16105,6 +16105,22 @@ queries. A complete example:
|
||||
|
||||
pt-query-digest --sample 2 --no-report --output slowlog slow.log
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
||||
Sets the user to be used to connect to the slaves.
|
||||
This parameter allows you to have a different user with less privileges on the
|
||||
slaves but that user must exist on all slaves.
|
||||
|
||||
=item --slave-password
|
||||
|
||||
type: string
|
||||
|
||||
Sets the password to be used to connect to the slaves.
|
||||
It can be used with --slave-user and the password for the user must be the same
|
||||
on all slaves.
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: Array
|
||||
|
@@ -4213,6 +4213,22 @@ Example:
|
||||
|
||||
Might delay runtime a few seconds.
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
||||
Sets the user to be used to connect to the slaves.
|
||||
This parameter allows you to have a different user with less privileges on the
|
||||
slaves but that user must exist on all slaves.
|
||||
|
||||
=item --slave-password
|
||||
|
||||
type: string
|
||||
|
||||
Sets the password to be used to connect to the slaves.
|
||||
It can be used with --slave-user and the password for the user must be the same
|
||||
on all slaves.
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: Array
|
||||
|
@@ -5684,6 +5684,22 @@ type: string; default: /tmp/pt-slave-restart-sentinel
|
||||
|
||||
Exit if this file exists.
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
||||
Sets the user to be used to connect to the slaves.
|
||||
This parameter allows you to have a different user with less privileges on the
|
||||
slaves but that user must exist on all slaves.
|
||||
|
||||
=item --slave-password
|
||||
|
||||
type: string
|
||||
|
||||
Sets the password to be used to connect to the slaves.
|
||||
It can be used with --slave-user and the password for the user must be the same
|
||||
on all slaves.
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: Array
|
||||
|
@@ -12624,6 +12624,22 @@ type: string; default: #
|
||||
The separator character used for CONCAT_WS(). This character is used to join
|
||||
the values of columns when checksumming.
|
||||
|
||||
=item --slave-user
|
||||
|
||||
type: string
|
||||
|
||||
Sets the user to be used to connect to the slaves.
|
||||
This parameter allows you to have a different user with less privileges on the
|
||||
slaves but that user must exist on all slaves.
|
||||
|
||||
=item --slave-password
|
||||
|
||||
type: string
|
||||
|
||||
Sets the password to be used to connect to the slaves.
|
||||
It can be used with --slave-user and the password for the user must be the same
|
||||
on all slaves.
|
||||
|
||||
=item --set-vars
|
||||
|
||||
type: Array; group: Connection
|
||||
|
Reference in New Issue
Block a user