mysql8.0報錯問題,數據庫連接不上,報The server requested authentication method unknown to the client

其實很簡單的,首先說明一下爲什麼會報錯,一是密碼太簡單了,其二是沒有配在[mysqld]中添加下邊的代碼 default_authentication_plugin=mysql_native_password;下面說一下怎麼做; 一在 用記事本編輯,裏面寫 [mysqld] 設置默認字符集,只會影響新建數據庫的默認字符集 character-set-server=utf8 default_auth
相關文章
相關標籤/搜索