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

Management commands are affected by SQL blacklist #260

Closed
zhunina opened this issue Sep 11, 2017 · 1 comment
Closed

Management commands are affected by SQL blacklist #260

zhunina opened this issue Sep 11, 2017 · 1 comment

Comments

@zhunina
Copy link

zhunina commented Sep 11, 2017

Steps:

  1. "server.xml"
<firewall>
         <blacklist check="true">
              <property name="selelctAllow">false</property>
         </blacklist>
 </firewall>
  1. Connect management, and execute management commands
    for example:
mysql> show @@datasource;
ERROR 3012 (HY000): The statement is unsafe SQL, reject for user 'action'
mysql> reload @@config;
ERROR 3012 (HY000): The statement is unsafe SQL, reject for user 'action'
@zhunina
Copy link
Author

zhunina commented Sep 15, 2017

fixed

@zhunina zhunina closed this as completed Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant