mysql8.0 设置用户密码

select user,host ,authentication_string from user where user='bi_analysis';


create user  'analysis'@'10.200.%'  identified with mysql_native_password   as '*4E3929455421BE180418FC522395343DC';
grant select on tms.* to 'bi_analysis'@'10.200.%';

show grants for analysis@'10.%';

你可能感兴趣的:(数据库,mysql)