MySQL 禁用插件 validate password plugin

版权声明:本文为博主原创文章,转载请注明出处 https://blog.csdn.net/vkingnew/article/details/81911498
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包默认启用。

MySQL 5.7版本在my.cnf文件中的[mysqld]加入如下之后重启mysql
validate_password=OFF

猜你喜欢

转载自blog.csdn.net/vkingnew/article/details/81911498