MYSQL8 创建账号并赋予权限

CREATE USER 'yys'@'%' IDENTIFIED BY 'yys20';

GRANT ALL PRIVILEGES ON *.* TO 'yys'@'%' WITH GRANT OPTION;

flush privileges;

posted @ 2022-05-29 08:30  田领群  阅读(5)  评论(0编辑  收藏  举报