mysql
CV/NLP大虾
https://github.com/hanhui269/
展开
-
pymysql操作(插入json)
MySql建表pymsql使用pyrhon进行插入数据import timefrom socket import *import subprocessimport jsonimport pymysqldef insertsql(DATA): # 建立数据库连接 connection_sql = pymysql.connect( host='X.X.X.X', port=3306, user='root',原创 2020-09-04 15:43:32 · 3445 阅读 · 3 评论 -
PyMySql常见错误
参考文章1:mysql -u root -pmysql>use mysql;mysql>select 'host' from user where user='root';mysql>update user set host = '%' where user ='root';mysql>flush privileges;原创 2020-09-04 10:30:51 · 452 阅读 · 1 评论