MySQL:Your password does not satisfy the current policy requirements
環境:
報錯:
出現這個問題是因為安裝了外掛,如下:
具體規則是:
外掛的安裝啟用:
為阻止該外掛在執行時被刪除可在配置檔案中新增:
[mysqld]
plugin-load=validate_password.so
validate-password=FORCE_PLUS_PERMANENT
更多資訊:
https://dev.mysql.com/doc/refman/5.7/en/validate-password-plugin-installation.html
-
mysql> select version();
-
+------------+
-
| version() |
-
+------------+
-
| 5.7.17-log |
-
+------------+
-
1 row in set (0.00 sec)
-
mysql> create user repl@'192.168.100.51' identified by '123456';
- ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
-
mysql> select name,dl from mysql.plugin;
-
+-------------------+----------------------+
-
| name | dl |
-
+-------------------+----------------------+
-
| validate_password | validate_password.so |
-
+-------------------+----------------------+
- 1 row in set (0.00 sec)
-
mysql> SHOW VARIABLES LIKE 'validate_password%';
-
+--------------------------------------+--------+
-
| Variable_name | Value |
-
+--------------------------------------+--------+
-
| validate_password_check_user_name | OFF |
-
| validate_password_dictionary_file | |
-
| validate_password_length | 8 |
-
| validate_password_mixed_case_count | 1 |
-
| validate_password_number_count | 1 |
-
| validate_password_policy | MEDIUM |
-
| validate_password_special_char_count | 1 |
- +--------------------------------------+--------+
外掛的安裝啟用:
1.外掛對應的庫物件檔案需在配置選項plugin_dir指定的目錄中。
2.可使用--plugin-load=validate_password.so在server啟動時載入外掛,或者將plugin-load=validate_password.so寫入配置檔案。
3.也可以透過如下語句在server執行時載入外掛(會註冊進mysql.plugins表)mysql> INSTALL PLUGIN validate_password SONAME 'validate_password.so';
為阻止該外掛在執行時被刪除可在配置檔案中新增:
[mysqld]
plugin-load=validate_password.so
validate-password=FORCE_PLUS_PERMANENT
更多資訊:
https://dev.mysql.com/doc/refman/5.7/en/validate-password-plugin-installation.html
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20893244/viewspace-2134180/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysql錯誤詳解(1819):ERROR 1819 (HY000): Your password does not satisfy the current policy requirementsMySqlErrorUIREM
- 建立xtrbackup備份使用者 ERROR 1819 (HY000): Your password does not satisfy the current policy requirementsErrorUIREM
- Your host does not meet minimum requirements to run VMware workstation with hyper-v or device/credenUIREMdev
- 安裝 dingo/api 報錯:Your requirements could not be resolvedGoAPIUIREM
- MySQL:You must reset your password using ALTER USER statement before executing this statement.MySql
- homestead下安裝laravel報錯:Your requirements could not be...LaravelUIREM
- would dispatch back to the current handler URL [/doLogin] again. Check your ViewResolver setup!AIView
- MySQL中的CURRENT_TIMESTAMPMySql
- 錯誤內容:You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverErrorMySqlServer
- After mysql installation, we need to change the password of root as belowMySql
- mysql 1045, "Access denied for user 'root'@'localhost' (using password: NO)"MySqllocalhost
- mysql 5.7.21 CMake Error: The source directory "/data/server/mysql" does not appear to contain CMakMySqlErrorServerAPPAI
- 教你如何使用MySQL中CURRENT_TIMESTAMP時間戳MySql時間戳
- Online Shopping App RequirementsAPPUIREM
- Filter-Policy過濾策略&Route-policyFilter
- python生成requirements.txtPythonUIREM
- python 生成requirements 檔案PythonUIREM
- Client does not support authentication protocol requested by server; consider upgrading MySQL clientclientProtocolServerIDEMySql
- MySQL8.0的caching_sha2_password問題MySql
- phpmyadmin mysql8 加密方式 caching_sha2_passwordPHPMySql加密
- Content Security Policy
- Laravel Policy 使用Laravel
- @1-MYSQL當前使用者user()與current_user()MySql
- MySQL authentication plugin 'caching_sha2_password' cannot be loaded 問題MySqlPlugin
- Django中的函式make_password、set_password和check_passwordDjango函式
- Your title
- MySQL系列:Docker安裝 MySQL提示錯誤:Access denied for user'root'@'localhost' (using password:yes)MySqlDockerlocalhost
- no-wwwtl622com17008768000-password never prompt for password
- Feed The Rat Privacy Policy
- Deterministic Policy Gradient AlgorithmsGo
- Laravel Policy 寫法Laravel
- Trust Region Policy OptimizationRust
- 7.71 CURRENT_TIMESTAMP
- 7.70 CURRENT_DATE
- MySQL案例01:Last_SQL_Errno: 1755 Cannot execute the current event group in the parallel modeMySqlASTParallel
- DB2 Port (Network Security) RequirementsDB2UIREM
- Scan Your Truck Using Nexiq Adapter: Simplifying Your Diagnostic ProcessAPT
- 高版本mysql訪問出現Client does not support authentication protocol requested by server;MySqlclientProtocolServer
- iOS Password AutoFilliOS