ERROR 1290 (HY000): The MySQL server is running with
1.mysqld --defaults-file=my.cnf --skip-grant-tables &
2.mysql -uroot -S mysql.sock
mysql> alter user root@'192.168.0.%' identified by '111111'; ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement mysql> flush privileges; # 不進行flush privileges會報錯 Query OK, 0 rows affected (0.16 sec) mysql> alter user root@'192.168.0.%' identified by '111111'; Query OK, 0 rows affected (0.03 sec)
3.重啟mysql
參考:
https://www.cnblogs.com/mschen/p/11511578.html
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31439444/viewspace-2704612/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables optErrorMySqlServer
- Linux:ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannLinuxErrorMySqlServer
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- ERROR 1290:The MySQL server is running with the --secure-file-priv optionErrorMySqlServer
- ERROR 1290 (HY000) 解決辦法Error
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- mysqldump Got error 1290MySqlGoError
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- linux下連線mysql報錯ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysqLinuxMySqlErrorServer
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- 阿里雲mysql遠端登入報ERROR 2027(HY000)阿里MySqlError
- ERROR 1114 (HY000) The table '' is fullError
- MySQL5.7叢集(MGR)啟動報ERROR 3092 (HY000)MySqlError
- MySQL案例02:ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGESMySqlError
- MySQL 使用 show tables 時出現 ERROR 1449 (HY000) 問題MySqlError
- Error running ‘Application’Command line is too longErrorAPP
- mysql 5.6.25報錯ERROR 1372 (HY000): Password hash 的一點思考MySqlError
- mysql無法建立儲存過程問題 ERROR 1307 (HY000)MySql儲存過程Error
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- MySQL 5.7 建立使用者報錯 ERROR 1805 (HY000): Column count of mysql.user is wrongMySqlError
- Centos7-mysql執行報錯ERROR1820(HY000):YoumustresetyourpasswordusingALTERUSERstatementbeforeexecutingthisstatement.CentOSMySqlError
- zabbix-server is not running 報錯解決Server
- MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'MySqlErrorAI
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- mysql 5.7.21 CMake Error: The source directory "/data/server/mysql" does not appear to contain CMakMySqlErrorServerAPPAI
- mysql 8 報錯 ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositoryMySqlErrorAIStruct
- mysql錯誤詳解(1819):ERROR 1819 (HY000): Your password does not satisfy the current policy requirementsMySqlErrorUIREM
- mysqldump: Error 2013: Lost connection to MySQL server during query when dumpingMySqlErrorServer
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- mysqldump: Error: Binlogging on server not activeMySqlErrorServer
- Microsoft SQL Server, Error: 15128 ()ROSSQLServerError
- SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-preparedSQLError
- 錯誤內容:You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverErrorMySqlServer
- RPC:authentication error:why = server rejected credentialRPCErrorServer
- 網站報錯:“Database Server Error”網站DatabaseServerError