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
相关文章
相关标签/搜索