会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
金色洋光
学习是最好的投资
博客园
首页
新随笔
联系
管理
2018年11月4日
pymysql操作mysql数据库
摘要: 首先安装mysql安装pymsql #!/usr/bin/python3 # -*- coding:utf-8 -*- #python2操作数据库需要mysqldb #python3-------》pymsql import pymysql #创建数据库链接 dbcon=pymysql.connect(host='127.0.0.1',user='root',password='12312...
阅读全文
posted @ 2018-11-04 14:19 金色洋光
阅读(376)
评论(0)
推荐(0)
编辑