Carlos Salguero c2815ec312 PT-1546 Improved MySQL 8 roles support
This fix adds these improvements:
- Only used roles are being dumped.
- Do no treat roles as regular users so, using --drop won't affect roles.
- If --only=user is specified, only roles for that user will be dumped.
- Specifying --only=role,user will ignore role (as per item #2) so the
role will be dumped ONLY if it was granted to 'user'
- Added new parameter --[no]include-unused-roles

Tags: pt-show-grants
Resolves: PT-1525
See also: PT-1488
2018-04-26 17:20:42 -03:00
2018-04-17 10:27:56 +00:00
2018-04-24 11:56:17 -03:00
2018-04-19 09:28:14 -03:00
2018-02-21 16:42:26 -03:00
2017-12-15 09:30:36 -03:00
2017-02-10 13:58:13 -08:00
2017-08-31 22:25:26 +02:00
2018-04-19 08:53:11 -03:00
2017-12-13 16:35:59 -03:00
2018-04-17 10:27:56 +00:00
2017-12-20 14:05:12 +00:00

Percona Toolkit

Percona Toolkit is a collection of advanced command-line tools used by Percona support staff to perform a variety of MySQL and system tasks that are too difficult or complex to perform manually.

These tools are ideal alternatives to private or "one-off" scripts because they are professionally developed, formally tested, and fully documented. They are also fully self-contained, so installation is quick and easy and no libraries are installed.

Percona Toolkit is developed and supported by Percona Inc. For more information and other free, open-source software developed by Percona, visit http://www.percona.com/software/.

Installing

To install all tools, run:

perl Makefile.PL
make
make test
make install

You probably need to be root to make install. On most systems, the tools are installed in /usr/local/bin. See the INSTALL file for more information.

Documentation

Run man percona-toolkit to see a list of installed tools, then man tool to read the embedded documentation for a specific tool. You can also read the documentation online at http://www.percona.com/software/percona-toolkit/.

Version 3

Starting from version 3, there are new tools for MongoDB. These tools are written in Go so in order to compile these program, this repo must me cloned into the GOPATH directory.
Example:

mkdir ${HOME}/go
export GOPATH=${HOME}/go
mkdir -p ${HOME}/go/src/github.com/percona
cd ${HOME}/go/src/github.com/percona
git clone https://github.com/percona/percona-toolkit.git
cd percona-toolkit/src/go
make
Description
Percona Toolkit: a collection of advanced open source command-line tools.
Readme 135 MiB
Languages
Perl 86.1%
Shell 7.4%
Go 4.5%
JavaScript 0.7%
CSS 0.5%
Other 0.6%