摘要: url = "https://www.imooc.com/user/ssologin?token=y4uSCZGOsbTjt1xzJXrZciaRKTcI3DXHvqyh02cVyLb5-wS06bvrrDoyFleOoPs4v0T5B26R5tWctPGcP8cfeDnaym3HRIbsXuDff 阅读全文
posted @ 2020-04-23 22:55 cc鱼 阅读(4588) 评论(0) 推荐(0) 编辑
摘要: 结果:(1, '11') self.conn = pymysql.connect( host='xxx', port=3806, user='root', passwd=str(123456), db = 'test', charset = "utf8") 结果:{'id': 1, 'name': 阅读全文
posted @ 2020-04-23 17:53 cc鱼 阅读(588) 评论(0) 推荐(0) 编辑
摘要: def __init__(self): self.conn = pymysql.connect( host='xxxxx', port=3806, user='root', passwd=str(123456), db = 'test', charset = "utf8", cursorclass= 阅读全文
posted @ 2020-04-23 17:52 cc鱼 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 转载至:https://www.cnblogs.com/xinhua19/p/12750611.html 【准备环境】 Linux centos7 【mysql安装步骤】 1.首先确定centos版本 cat /etc/redhat-release 2.yum安装 yum -y install ma 阅读全文
posted @ 2020-04-23 17:20 cc鱼 阅读(2255) 评论(0) 推荐(0) 编辑