ERROR 1524 (HY000): Plugin is not loaded
資料庫:percona5.7.11
今天登陸資料庫的時候報錯
[root@leo ~]# mysql -uroot -p
Enter password:
ERROR 1524 (HY000): Plugin '*9E53930467B20A15727780FB02007B379CE21A84' is not loaded
報錯大概的意思*9E53930467B20A15727780FB02007B379CE21A84沒有載入
錯誤原因:
mysql登入驗證密碼外掛是mysql_native_password(mysql.user表中的plugin欄位記錄的是密碼外掛),而現在這個使用者的登入密碼外掛是XXXXXXXXXXXXX,所有會報錯
解決方法:
使用skip-grant-tables方法進入資料庫
select user,password,plugin from user where user='root';
mysql> select user,password,plugin from user;
+-------+----------+-------------------------------------------+
| user | password | plugin |
+-------+----------+-------------------------------------------+
| root | | *9E53930467B20A15727780FB02007B379CE21A84 |
+-------+----------+-------------------------------------------+
1 rows in set (0.00 sec)
果然 plugin被修改過
mysql> update user set plugin='mysql_native_password' where user='root' ; 修改回來
mysql> flush privileges;
解決
今天登陸資料庫的時候報錯
[root@leo ~]# mysql -uroot -p
Enter password:
ERROR 1524 (HY000): Plugin '*9E53930467B20A15727780FB02007B379CE21A84' is not loaded
報錯大概的意思*9E53930467B20A15727780FB02007B379CE21A84沒有載入
錯誤原因:
mysql登入驗證密碼外掛是mysql_native_password(mysql.user表中的plugin欄位記錄的是密碼外掛),而現在這個使用者的登入密碼外掛是XXXXXXXXXXXXX,所有會報錯
解決方法:
使用skip-grant-tables方法進入資料庫
select user,password,plugin from user where user='root';
mysql> select user,password,plugin from user;
+-------+----------+-------------------------------------------+
| user | password | plugin |
+-------+----------+-------------------------------------------+
| root | | *9E53930467B20A15727780FB02007B379CE21A84 |
+-------+----------+-------------------------------------------+
1 rows in set (0.00 sec)
果然 plugin被修改過
mysql> update user set plugin='mysql_native_password' where user='root' ; 修改回來
mysql> flush privileges;
解決
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29989552/viewspace-2087981/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ERROR 1010 (HY000): Error dropping databaseErrorDatabase
- MySQL authentication plugin 'caching_sha2_password' cannot be loaded 問題MySqlPlugin
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- build Error -- extract-text-webpack-pluginUIErrorWebPlugin
- MySQL "ERROR 1010(HY000):Error dropping database(canMySqlErrorDatabase
- ERROR 1114 (HY000) The table '' is fullError
- MYSQL ERROR 2003 (HY000) CanMySqlError
- Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.HTTPPlugin
- [ERROR] Can't open the mysql.plugin tableErrorMySqlPlugin
- 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
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- 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
- Error:(4, 0) Plugin with id 'com.jakewharton.butterknife' not found.ErrorPlugin
- MySQL ERROR 1031 (HY000) at line 33: Table storage engine forMySqlError
- 35.8.ERROR1819(HY000):YourpassworddoesnotsatisfythecurrentpolicyrequirementsErrorUIREM
- ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default valueError
- 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