35.8.ERROR1819(HY000):Yourpassworddoesnotsatisfythecurrentpolicyrequirements
MySQL 5.7 密碼強度,必須含有0-9,a-z,A-Z以及“-”或“_”
https://dev.mysql.com/doc/refman/5.7/en/validate-password-options-variables.html
禁用密碼安全策略(早起5.7版本可用,新版已經廢棄這個選項)
# cat /etc/my.cnf | grep validate-password validate-password=OFF
新的方式修改策略與密碼長度
mysql> set global validate_password_policy=0; mysql> set global validate_password_length=4; mysql> grant all privileges on test.* to `test`@localhost identified by `chen`;
原文出處:Netkiller 系列 手札
本文作者:陳景峰
轉載請與作者聯絡,同時請務必標明文章原始出處和作者資訊及本宣告。
相關文章
- SQLSTATE[HY000] [1049] Unknown databaseSQLDatabase
- ERROR 1524 (HY000): Plugin is not loadedErrorPlugin
- ERROR 1114 (HY000) The table '' is fullError
- MYSQL ERROR 2003 (HY000) CanMySqlError
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- ERROR 1290 (HY000) 解決辦法Error
- ERROR 1010 (HY000) mysql 5.5.19ErrorMySql
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- 24.2.SQLSTATE[HY000][2002]NosuchfileordirectorySQL
- ERROR 1010 (HY000): Error dropping databaseErrorDatabase
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- ERROR 1135 (HY000): Can't create a new threadErrorthread
- 【Mysql】ERROR 1872 (HY000): Slave failed to initialize relay log infoMySqlErrorAI
- ERROR 1168 (HY000): Unable to open underlying table which isError
- ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL,ErrorFunctionNoneSQL
- MySQL ERROR 1031 (HY000) at line 33: Table storage engine forMySqlError
- ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default valueError
- MySQL "ERROR 1010(HY000):Error dropping database(canMySqlErrorDatabase
- ERROR 1661 (HY000): Cannot execute statement: impossible to write to binaryError
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- MySQL 使用 show tables 時出現 ERROR 1449 (HY000) 問題MySqlError
- mysql執行sql指令碼報錯ERROR 1366 (HY000) 解決MySql指令碼Error
- super許可權報錯:ERROR1221(HY000):IncorrectusageofDBGRANTandGLOBALPRIVILEGESError
- ERROR2002(HY000):CantconnecttolocalMySQLserverthroughsocket的解決方法ErrorMySqlServer
- ERROR 1031 (HY000): 表引擎沒有這個選項Error
- ERROR 23 (HY000) at line 29963: Out of resources when opening fileError996
- ERROR 1135 (HY000): Can't create a new thread (errno 11)Errorthread
- ERROR 1577 (HY000): Cannot proceed because system tables used by Event ScheduleError
- ERROR 1206 (HY000): The total number of locks exceeds the lock table sizeError
- 【MySQL】ERROR 1005 (HY000): Can't create table' (errno: 150)MySqlError
- SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-preparedSQLError
- MySQL5.7叢集(MGR)啟動報ERROR 3092 (HY000)MySqlError
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables optErrorMySqlServer
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- mysql 5.6.25報錯ERROR 1372 (HY000): Password hash 的一點思考MySqlError
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError