签到成功

知道了

CNDBA社区CNDBA社区

Mysql OCP 52题

2021-12-13 21:09 47379 0 原创 mysql
作者: hbhe0316

A MySQL Server has been running an existing application successfully for six months. The my.cnf is adjusted to contain this additional configuration:
The MySQL Server is restarted without error.
What effect will the new configuration have on existing account?
[mysqld]
default-authentication-plgin=sha256_passwordhttp://www.cndba.cn/hbhe0316/article/22792http://www.cndba.cn/hbhe0316/article/22792

http://www.cndba.cn/hbhe0316/article/22792
http://www.cndba.cn/hbhe0316/article/22792http://www.cndba.cn/hbhe0316/article/22792

A. They are not affected by this configuration change.
B. They all connect via the secure sha256_password algorithm without any configuration change.
C. They will have their passwords updated on start-up to sha256_password format.
D. They will have to change their password the next time they login to the server.
Answer: A
MySQL已经运行某业务6个月了,重启也不会有报错,现在在my.cnf中增加如下配置:
default-authentication-plgin=sha256_password
那么会对现有数据库账号产生什么影响?
A. 没影响
B. 他们的连接都会使用sha256_password密码方式
C. 他们的密码会被更小为sha256_password格式
D. 下次登录时他们必须修改密码
sha256_password插件是由新帐户的默认使用。http://www.cndba.cn/hbhe0316/article/22792http://www.cndba.cn/hbhe0316/article/22792

http://www.cndba.cn/hbhe0316/article/22792
http://www.cndba.cn/hbhe0316/article/22792
http://www.cndba.cn/hbhe0316/article/22792

版权声明:本文为博主原创文章,未经博主允许不得转载。

MYSQL

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:2656231次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ