![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
凉拌谢耳朵
这个作者很懒,什么都没留下…
展开
-
1251-Client does not support authentication protocol requested by server
一个值得参考的navicat for mysql 链接时报错:1251-Client does not support authentication protocol requested by server最近叕开始折腾数据了,在Navicat for MySQL连接MySQL数据库时报了如题的错误,经过各种采坑,终于解决了,注意我这里是用的MySQL8.0社区办,和Navicat for My...原创 2019-10-09 15:22:44 · 336 阅读 · 0 评论 -
python3.7连接MySQL8.0
最近叒处理数据,要用python3.7连接MySQL8.0,将数据从数据库中读出来,以方便使用,这里简单写一点代码做个笔记,需要的朋友可以拿去。1.MySQL数据库展示一下2.安装pymysql库:pip install pymysql3.python代码:import mysql.connectordbconfig={‘host’:‘127.0.0.1’,‘user’:‘root’...原创 2019-10-10 13:10:22 · 1725 阅读 · 0 评论