Loading

MySQL 禁用插件 validate password plugin

 
MySQL's validate_password plugin is installed by default.
This will require that passwords contain at least one upper case letter, one lower
case letter, one digit, and one special character, and that the total password
length is at least 8 characters
 
自MySQL5.6版本加入了此插件,在平常的测试开发中,MySQL处于内网,设置复杂密码不利用平常的查询使用。
因此想关闭插件认证功能。这种插件通过官方提供的RPM包默认启用。
 
处理:
  1. MySQL 5.7版本在my.cnf文件中的[mysqld]加入如下之后重启mysql
  2. validate_password=OFF

posted @ 2021-08-05 10:28  bathing  阅读(309)  评论(0编辑  收藏  举报
Live2D