摘要: 1、进入Mysql安装目录 C:\Program Files\MySQL\MySQL Server 8.0\bin 2、打开cmd窗口 3、登录mysql mysql -u root -p 4、切换数据库 use mysql; 5、执行如下指令 %代表所有主机 update user set hos 阅读全文
posted @ 2022-02-08 21:52 草莓爸 阅读(1785) 评论(0) 推荐(0) 编辑
摘要: 1、相关配置 1.1、pom.xml文件 <!-- https://mvnrepository.com/artifact/org.springframework/spring-jdbc --> <dependency> <groupId>org.springframework</groupId> < 阅读全文
posted @ 2022-02-08 19:47 草莓爸 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 错误现象 解决Navicat for MySQL 连接 Mysql 8.0.11 出现1251- Client does not support authentication protocol 错误。 解决方案 1、打开cmd,进入mysql的安装目录 C:\Program Files\MySQL\ 阅读全文
posted @ 2022-02-08 15:36 草莓爸 阅读(165) 评论(0) 推荐(0) 编辑