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:
Carlos Salguero
2016-07-12 12:59:12 -03:00
parent fe586a84c4
commit 572c8c1f19
7 changed files with 112 additions and 0 deletions

View File

@@ -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