Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能最小化赋权 #47

Open
woodywuuu opened this issue Mar 6, 2019 · 0 comments
Open

希望能最小化赋权 #47

woodywuuu opened this issue Mar 6, 2019 · 0 comments

Comments

@woodywuuu
Copy link

简单粗暴的root权限,在安全方面不太靠谱,希望能够按照使用到的权限进行赋权,专账号专用。
粗略看了一下源码,主要是show engine和主从相关的查看权限(暂时没看到其他的
按照官网提供的权限表,目前是给了PROCESS和REPLICATION CLIENT权限,可以正常上报一些指标。
PS:
在指标列表里看到了aborted client 之类的指标,在mysql5.7版本中好像是在sys库里,但是在代码里未看到相关的操作。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant