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
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- MySQL報錯'ERROR 2002 (HY000): Can't connect to local MySQL server through'MySqlErrorServer
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- mysqldump Got error 1290MySqlGoError
- MYSQL ERROR 2003 (HY000) CanMySqlError
- ERROR 2002 (HY000): Can't connect server socket /tmp/mysql.sockErrorServerMySql
- MySQL "ERROR 1010(HY000):Error dropping database(canMySqlErrorDatabase
- ERROR 2003 (HY000)Can't connect to MySQL server on '192.168.8.247' (113)ErrorMySqlServer
- ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)ErrorMySqlServerlocalhost
- MySQL遠端連線ERROR 2003 (HY000) Cant connect to MySQL server on (10060)MySqlErrorServer
- ERROR 1010 (HY000) mysql 5.5.19ErrorMySql
- 【Mysql】Slave_SQL_Running: No:Last_Error: Error :1032/1062MySqlASTError
- ERROR 2002 (HY000): Cant connect to local MySQL server through socket的解決方法ErrorMySqlServer
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- 【Mysql】ERROR 1872 (HY000): Slave failed to initialize relay log infoMySqlErrorAI
- MySQL ERROR 1031 (HY000) at line 33: Table storage engine forMySqlError
- Mysql 報The MySQL server is running with the --secure-file-priv option so it cannot execute this stat...MySqlServer
- MySQL5.6:mysql_secure_installation 報錯ERROR 2002 (HY000)MySqlError
- MySQL 使用 show tables 時出現 ERROR 1449 (HY000) 問題MySqlError
- mysql執行sql指令碼報錯ERROR 1366 (HY000) 解決MySql指令碼Error
- 【MySQL】ERROR 1005 (HY000): Can't create table' (errno: 150)MySqlError
- 【Mysql】Slave_IO_Running: No---Got fatal error 1236 from masterMySqlGoErrorAST
- Error: package MySQL-Cluster-server-gpl is not relocatableErrorPackageMySqlServer
- ERROR 1010 (HY000): Error dropping databaseErrorDatabase
- linux下連線mysql報錯ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysqLinuxMySqlErrorServer
- ERROR 2002(HY000):Can't connect to local MySQL socket '/tmp/mysql.sock'ErrorMySql
- MySQL5.7叢集(MGR)啟動報ERROR 3092 (HY000)MySqlError
- mysql 5.6.25報錯ERROR 1372 (HY000): Password hash 的一點思考MySqlError
- 阿里雲mysql遠端登入報ERROR 2027(HY000)阿里MySqlError
- MySQL案例02:ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGESMySqlError
- mysql資料匯入問題處理(ERROR 1418 (HY000))MySqlError