关于密码强度验证:
[root@mysql mysql]# mysql -uroot -p123456
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.18
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql>
mysql> use mysql
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> SET PASSWORD = PASSWORD('');
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
mysql> exit
Bye
[root@mysql mysql]#
[root@mysql mysql]#
[root@mysql mysql]# vi /etc/my.cnf
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
plugin-load=validate_password.so
validate-password=OFF
~
~
~
~
~
~
~
~
"/etc/my.cnf" 30L, 1016C written
[root@mysql mysql]# service mysqld restart
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
[root@mysql mysql]# mysql -uroot -p123456
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.18
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql>
mysql> use mysql
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql> SET PASSWORD = PASSWORD('');
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql>
以上所述是小编给大家介绍的MySQL关闭密码强度验证功能,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!
# mysql
# 密码强度验证
# mysql-8.0.15-winx64 使用zip包进行安装及服务启动后立即关闭问题
# 完美解决mysql启动后随即关闭的问题(ibdata1文件损坏导致)
# MySQL 关闭子表的外键约束检察方法
# PHP中用mysqli面向对象打开连接关闭mysql数据库的方法
# 安全地关闭MySQL服务的教程
# lnmp下如何关闭Mysql日志保护磁盘空间
# Windows下使用批处理实现启动关闭mysql
# MySQL数据库开启、关闭、查看函数功能的方法
# MySQL关闭过程详解和安全关闭MySQL的方法
# Mysql的游标的定义使用及关闭深入分析
# MySQL服务器的启动和关闭
# 怎样安全地关闭MySQL实例
# 小编
# 在此
# 给大家
# 所述
# 给我留言
# 感谢大家
# 疑问请
# 有任何
# USER
# executing
# reset
# ALTER
# SET
# satisfy
# policy
# PASSWORD
# current
# input
# Type
# clear
相关文章:
关于BootStrap modal 在IOS9中不能弹出的解决方法(IOS 9 bootstrap modal ios 9 noticework)
制作国外网站的软件,国外有哪些比较优质的网站推荐?
网站制作软件有哪些,制图软件有哪些?
东莞专业制作网站的公司,东莞大学生网的网址是什么?
如何零基础在云服务器搭建WordPress站点?
如何用IIS7快速搭建并优化网站站点?
专业的网站制作设计是什么,如何制作一个企业网站,建设网站的基本步骤有哪些?
如何快速生成可下载的建站源码工具?
宝塔建站无法访问?如何排查配置与端口问题?
,网站推广常用方法?
简单实现Android文件上传
昆明高端网站制作公司,昆明公租房申请网上登录入口?
如何用手机制作网站和网页,手机移动端的网站能制作成中英双语的吗?
如何高效利用亚马逊云主机搭建企业网站?
网站建设制作需要多少钱费用,自己做一个网站要多少钱,模板一般多少钱?
如何选择网络建站服务器?高效建站必看指南
ppt制作免费网站有哪些,ppt模板免费下载网站?
如何通过二级域名建站提升品牌影响力?
c++ stringstream用法详解_c++字符串与数字转换利器
建站之星如何一键生成手机站?
网站设计制作书签怎么做,怎样将网页添加到书签/主页书签/桌面?
北京制作网站的公司,北京铁路集团官方网站?
如何在腾讯云服务器快速搭建个人网站?
微信推文制作网站有哪些,怎么做微信推文,急?
实例解析Array和String方法
如何选择适配移动端的WAP自助建站平台?
建站主机选购指南:核心配置与性价比推荐解析
如何在Windows 2008云服务器安全搭建网站?
网站制作公司,橙子建站是合法的吗?
江苏网站制作公司有哪些,江苏书法考级官方网站?
建站之星如何配置系统实现高效建站?
高防服务器租用指南:配置选择与快速部署攻略
建站之星如何实现网站加密操作?
建站10G流量真的够用吗?如何应对访问高峰?
如何在Mac上搭建Golang开发环境_使用Homebrew安装和管理Go版本
个人摄影网站制作流程,摄影爱好者都去什么网站?
网站制作费用多少钱,一个网站的运营,需要哪些费用?
如何在建站之星网店版论坛获取技术支持?
建站之星后台管理:高效配置与模板优化提升用户体验
香港服务器建站指南:免备案优势与SEO优化技巧全解析
如何通过PHP快速构建高效问答网站功能?
建站之星后台密码遗忘?如何快速找回?
香港服务器部署网站为何提示未备案?
车管所网站制作流程,交警当场开简易程序处罚决定书,在交警网站查询不到怎么办?
潍坊网站制作公司有哪些,潍坊哪家招聘网站好?
建站之星CMS五站合一模板配置与SEO优化指南
公司门户网站制作流程,华为官网怎么做?
已有域名和空间如何搭建网站?
简易网站制作视频教程,使用记事本编写一个简单的网页html文件?
如何在VPS电脑上快速搭建网站?
*请认真填写需求信息,我们会在24小时内与您取得联系。