MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'
建立命令:
CREATE USER 'afei'@'%' IDENTIFIED BY '123456';
報錯:
mysql> CREATE USER 'afei'@'%' IDENTIFIED BY '123456';
ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'
檢視後資料庫不存在,回憶了一下操作,手動刪除過 afei 這使用者,可能是這個操作引起的,現在執行命令重新刪除一下
drop user 'afei'@'%';
mysql> drop user 'afei'@'%';
Query OK, 0 rows affected (0.00 sec)
擴充套件:參考地址,在回覆中
相關文章
- MySQL 5.7 建立使用者報錯 ERROR 1805 (HY000): Column count of mysql.user is wrongMySqlError
- mysql 8 報錯 ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositoryMySqlErrorAIStruct
- tidb Error: Operation aborted by user answer '' (cliutil.operation_aborted)TiDBError
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- ubuntu下pig報錯ERROR 2999: Unexpected internal error. Failed to create DataStorage的解決UbuntuErrorAIAST
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- dbca建立資料庫時報錯ORA-13516: AWR Operation failed: CATPROC not valid資料庫AI
- mysql 5.6.25報錯ERROR 1372 (HY000): Password hash 的一點思考MySqlError
- ERROR 1410 (42000): You are not allowed to create a user with GRANTError
- Centos7-mysql執行報錯ERROR1820(HY000):YoumustresetyourpasswordusingALTERUSERstatementbeforeexecutingthisstatement.CentOSMySqlError
- weblogic報錯: OPatch failed with error code 73WebAIError
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- MySQL建立觸發器時報錯Error Code: 1064MySql觸發器Error
- Laravel NO_AUTO_CREATE_USER 錯誤Laravel
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- 【ERROR】su user報'This account is currently not available'錯誤 for linuxErrorAILinux
- Installation failed with message INSTALL_FAILED_USER_RESTRICTED錯誤AIREST
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- mysql無法建立儲存過程問題 ERROR 1307 (HY000)MySql儲存過程Error
- PHP報錯getimagesize(): SSL operation failed with code 1問題解決方案PHPAI
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- 阿里雲mysql遠端登入報ERROR 2027(HY000)阿里MySqlError
- linux下連線mysql報錯ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysqLinuxMySqlErrorServer
- MySQL5.7叢集(MGR)啟動報ERROR 3092 (HY000)MySqlError
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- Mysql啟動報錯:Job for mysqld.service failed because the control process exited with error code.MySqlAIError
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- 建立xtrbackup備份使用者 ERROR 1819 (HY000): Your password does not satisfy the current policy requirementsErrorUIREM
- Rancher 系列文章-K3s Traefik MiddleWare 報錯-Failed to create middleware keysAI
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- git push報錯error: failed to push some refs to 'git@github.com:ErrorAIGithub
- mysql錯誤詳解(1819):ERROR 1819 (HY000): Your password does not satisfy the current policy requirementsMySqlErrorUIREM
- PostgreSQL提示:‘psql: FATAL: ”Peer authentication failed for user ”postgres“’錯誤SQLAI
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- 報錯install_driver(mysql) failed: Attempt to reload DBD/mysql.pmMySqlAI