MySQL [(none)]> show databases;
MySQL [data]> show tables;
root@% = allows connection from user 'root' from any host, local or TCP (internet).
root@localhost = only allows connection from 'root' on the machine running the MySQL server.
MySQL [information_schema]> select * from user_privileges where GRANTEE like '%\%%' ;
Sources : https://www.attackdefense.com/
No comments:
Post a Comment