Home > Database > Mysql Tutorial > pt-show-grants使用_MySQL

pt-show-grants使用_MySQL

WBOY
Release: 2016-06-01 13:14:42
Original
1889 people have browsed it

pt-show-grants使用

2014年5月9日3 views发表评论阅读评论

pt-show-grants

导出权限的工具.方便制作主从. 因为有时我们不想导出导入mysql库(可能导致兼容性问题)

可以方便对比数据库之间的权限差异.

可以方便回收权限

语法: pt-show-grants [OPTION...] [DSN]

示例:1. 导出权限:

pt-show-grants u=root,P=3306,S=/tmp/mysql.sock

» 转载保留版权:老陈»《pt-show-grants使用》

» 本文链接地址:http://www.db110.com/pt-show-grants%e4%bd%bf%e7%94%a8/

» 如果喜欢可以:点此订阅本站

分类:数据库标签:MySQL,percona tools

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template