$ show variables like '%general%';
$ SET GLOBAL general_log = 'On';
$ SET GLOBAL general_log_file = '/var/log/mysql/mysql.log'
# 查看哪些IP在爆破
$ grep "Access denied" mysql.log |cut -d "'" -f4|uniq -c|sort -nr
# 爆破用户字典有哪些
$ grep "Access denied" mysql.log |cut -d "'" -f2|uniq -c|sort -nr
mysql\lib\plugin
c:/windows/system32/wbem/mof/
$ select * from mysql.func;