特牛网址导航

MySQL 8.0用户管理_mysql authentication_policy_admin-CSDN博客

网友收藏
文章浏览阅读1k次。1、禁止root用户远程访问(1)在安装MySQL数据库软件时,我们已经设置了禁止root远程登录参见,https://blog.csdn.net/chengyuqiang/article/details/121282247(2)root用户只能在服务器端访问(3)远程访问被禁止2、新建用户mysql> CREATE USER 'employees'@'%' IDENTIFIED BY '123' ;Query OK, 0 rows affected (0.02 sec) mys_mysql authentication_policy_admin