摘要:
使用下面的语句创建用户和密码 create user 'username'@'%' identified by '123456'; grant all on *.* to 'username'@'%' with grant option; 验证通过此语法创建的用户,通过sqlyog客户端无法正常连接 阅读全文
posted @ 2021-04-28 09:49
Lin-Grocery
阅读(228)
评论(0)
推荐(0)
摘要:
在mariadb的配置文件中加入下列一行 vim /etc/my.conf.d/server.cnf [mysqld] skip-grant-tables # 加入此行 重启mariadb服务 systemctl start mariadb.service 登录mysql [root@vps]# m 阅读全文
posted @ 2021-04-28 09:48
Lin-Grocery
阅读(469)
评论(0)
推荐(0)

浙公网安备 33010602011771号