mysql远程登陆_mysql

查看授权登陆mysql的用户和主机命令:

select host,user,password from user;

查看具体授权信息

select * from information_schema.user_privileges;