wojkxlq 发表于 2018-8-8 11:44:00

python爬虫坑

connection = pymysql.connect(  host = '1.1.1.1',#主机名
  user = 'xxx',#用户名
  password = 'xxx',#密码
  db = 'test',#数据库
  use_unicode = True,
  charset = 'utf8'#数据库字符集
  )
页: [1]
查看完整版本: python爬虫坑