MySQL查询用户权限的方法总结
介绍两种查看MySQL用户权限的两种方法 1、 使用MySQL grants命令 mysql> show grants for username@localhost; +---------------------------------------------------------------------+ | Grants for root@localhost | +---------------------------------------------------------------------+ | GRANT ALL PRIVILEGES ON *.* TO 'root'@'
下载地址
用户评论