Mysql8.0设置远程访问权限

 如果不允许贴此图,还请告知(thread_zhou@126.com),谢谢

CREATE USER 'myuser'@'%' IDENTIFIED BY 'zyzj008';  -- 创建用户
GRANT ALL ON *.* TO 'myuser'@'%' WITH GRANT OPTION;  -- 授权
flush privileges; -- 刷新权限

参考: https://blog.csdn.net/xinpengfei521/article/details/80403965

posted @ 2019-03-18 17:24  拂衣志  阅读(2923)  评论(0编辑  收藏  举报