![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
xiaoxiaoqunqun
github:https://github.com/happydayhappyday
展开
-
mysql服务开启关闭命令
1.开启mysql服务net start mysql2.关闭mysql服务net stop mysql原创 2018-11-14 16:11:02 · 3376 阅读 · 0 评论 -
使用 PyMySQL 连接数据库,并实现简单的增删改查
首先需要import pymysql1.连接数据库#获取数据库连接def getDBConn(): conn = pymysql.connect( host = 'localhost', port = 3306, user = 'root', password = '123', db = 'insurancedata', charset = 'utf8'...原创 2018-11-21 09:50:50 · 650 阅读 · 0 评论