客戶端啟動連線本地mysql,錯誤提示plugin caching_sha2_password could not be loaded
原來是用navicat視覺化工具,後來用了HeidiSQL,輸入賬號密碼後一直無法進入資料庫報錯
1.127.0.01和localhost的區別
一個是本機地址還有一個是別名
同時localhost不依賴於網絡卡,不受到防火牆的限制。
127這個域名則相反。
ipv4是物理網路介面的一個代號,每臺電腦都不一樣,可以供不同電腦間互相訪問。而127.0.01和localhost只是內部訪問自己時用的。
2.所以訪問自己本地配置的資料庫,預設用127域名,賬號密碼使用安裝mysql時設定的。
在輸完後就出現了問題。
後來在網上搜了很多解決方案,好不容易才順利連線上。
原因:下載的mysql8.1內部加密方式,限制了遠端訪問。在mysql的user表中增password的許可權。
解決方案:
mysql -u root -p
use mysql
alter user ‘root’@‘localhost’ identified by ‘password’ password expire never;設定許可權
alter user ‘root’@‘localhost’ identified with mysql_native_password by ‘password’;更新密碼
flush privileges;重新整理許可權
補充:檢視mysql庫裡的user表資訊
這裡要注意mysql8.0已經將內建的password欄位改成了
authentication_string
查表結果:
相關推薦
客戶端啟動連線本地mysql,錯誤提示plugin caching_sha2_password could not be loaded
原來是用navicat視覺化工具,後來用了HeidiSQL,輸入賬號密碼後一直無法進入資料庫報錯 1.127.0.01和localhost的區別 一個是本機地址還有一個是別名 同時localhost不依賴於網絡卡,不受到防火牆的限制。 127這個域名則相反。 ipv4是物理網路介面的一個代
MySQL 8.0資料庫,使用連線工具報錯"plugin caching_sha2_password could not be loaded "。
首先定位原因:安裝的時候最後一步就提示8.0和5.6版本的加密方式不同。 解決方法:啟動MySQL--server 命令列。 第二步,登入MySQL,輸入SQL: alter user 'root'@'localhost' identified with mysql_native_
SQLyog連接數據庫 提示錯誤plugin caching_sha2_password could not be loaded
執行 連接數 提示 oca sha root 加密 word mysql 1.打開mysql cmd 2.執行語句 ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘password‘ PASSWORD EXPIRE
SQLyog連線資料庫報錯plugin caching_sha2_password could not be loaded
開啟cmd:mysql -uroot -p? 進入mysql依次執行下面語句 ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密規則? ALTER U
Docker容器中SQLyog連線資料庫報錯plugin caching_sha2_password could not be loaded
ERROR 2059 (HY000): Authentication plugin ‘caching_sha2_password’ cannot be loaded 問題: 連線Docker啟動的mysql出現:ERROR 2059 (HY000): Authentication plu
遇到的問題---mysql 啟動錯誤-server PID file could not be found
[[email protected] var]# service mysqld stop MySQL manager or server PID file could not be found! [FAILED] 解決辦法: 首先檢視一下程序 [[em
Windows 10無法正常登入系統, 提示User Profile can not be loaded的錯誤。
Windows 10裡面有兩個user accounts,但其中一個登入Windows 10系統輸入密碼後,密碼正確,但提示User Profile can not be loaded的錯誤,導致無法登入系統。建立其他新account,也是顯示同樣的錯誤。請問該如何解決。 試試看以下步驟掃瞄系統
mysql顯示[Warning] IP address 'xxxx' could not be resolved: Name or service not known錯誤解決
mysql日誌顯示[Warning] IP address 'xxxx' could not be resolved: Name or service not known,那是因為mysql預設會反向
eclipse啟動報錯the catalog could not be loaded please ensure that you have network access and if needed have configured your network proxy
實例 等待 ces .cn access 分享圖片 clas 安裝包 nan 搜索關鍵詞不對在網上查了一圈沒找到合適的解決辦法 去看報錯的日誌文件 然並卵。不過下面有個config.ini,想著以前能用現在不能用,肯定是配置問題,打開該文件 轉載請註明出處http
kafka啟動報錯記錄:Connection to node 0 could not be established. Broker may not be available.
環境說明: CentOS Linux release 7.4.1708 (Core) Linux核心:3.10.0-693.el7.x86_64 java: openjdk version “1.8.0_181” kafka: kafka_2.11-2.0.0 zookeep
MySQL is running but PID file could not be found(解決方法)
啟動MySQL時報錯: [[email protected] /]# service mysqld status MySQL is running but PID file could not be found [失敗] 解決辦法: 找到並kill掉
呼叫百度地圖第三方庫造成bitcode錯誤(bitcode bundle could not be generated)
編譯遇到bitcode bundle could not be generated because 呼叫第三方庫造 解決辦法: 右鍵這個錯誤提示,選擇reaval in log (在日誌中顯示) 1、在Build Settings中搜索Enable Bitcode-
Mybatis與springboot專案啟動時出現Field XXX in com.xxx that could not be found
Mybatis與springboot專案,啟動時報錯,詳細的錯誤如下: Field xxx in com.xxxl required a bean of type ‘xxx’ that could no
在安裝 Windows 過程中出現“Ntkrnlmp.exe Could Not Be Loaded. The Error Code Is 7”(無法載入 Ntkrnlmp.exe。錯誤程式碼是 7)錯誤訊息
症狀 在 Windows 安裝程式的文字模式部分安裝期間,安裝程式可能停止響應(掛起),您可能會收到下列錯誤訊息之一: The file I386/Ntkrnlmp.exe could not be loaded. The error code is 7. - 或者 - T
MySQL is running but PID file could not be found 解決方案
今天碰到一個問題,伺服器異常關閉,mysql無法啟動,檢視mysql 狀態service mysqld status都提示:MySQL is running but PID file could not be found。 解決方法: 使用ps -elf |
iOS xcode 7網路請求錯誤failure Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded
在我們使用(xocde7.0)開啟以前的專案時,發現之前的專案在原來的版本上都沒有問題,在xcode7.0上網路請求部分發生了錯誤,會看到有這麼一段東西輸出在控制檯(據說7.1沒那問題); 2015-11-20 16:12:16.569 AFNetworkin
在keychain tool裡,Request a certificate時,出錯''The specified item could not be found in the keychain"
解決辦法是:restart keychain tool, and then 在keychain tool裡,不要選擇"keys" item,應該選擇"all items",and then try again! (make sure you see "Let me spec
客戶端遠端連線docker容器中的mysql 報1251錯誤
1、啟動容器: [[email protected] ~]# docker run -d -e MYSQL_ROOT_PASSWORD=123456 -p 3306:3306 mysql 2、進入容器: [[email protected] ~]#
MYSQL錯誤 NO.1130 ERROR的解決(使用客戶端遠端連線資料庫)
問題背景: linux系統,centos6.5,mysql資料庫, 遠端計算機:SQLyog客戶端,xshell遠端工具; 通過xshell連線資料庫,輸入mysql -u root -p,然後輸入密碼,可以進入mysql,但是通過SQLyo
通過jedis連線redis單機成功,使用redis客戶端可以連線叢集,但使用JedisCluster連線redis叢集一直報Could not get a resource from th
原因是這個地方以前我沒註釋redis.conf檔案中的bind 127.0.0.1 然後做叢集時使用的命令是: ./redis-trib.rb create –replicas 1 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.