0
点赞
收藏
分享

微信扫一扫

为mysql设置远程访问权限命令

张宏涛心理 2022-02-16 阅读 128

1. 登录mysql

mysql -uroot

2. 执行制授权命令
grant all privileges on *.* to root@'%' identified by '123456' with grant option;

3. 更新
flush privileges;
重启容器

举报

相关推荐

0 条评论