chatgpt大模型
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
469 B

  1. # coding:utf8
  2. # def mySql():
  3. # try:
  4. # db = pymysql.connect(host='172.26.28.30', user='crawl', passwd='crawl13', db='test', port=3306,
  5. # charset='utf8', cursorclass=pymysql.cursors.DictCursor)
  6. # if db.open:
  7. # print("MySQL连接成功!")
  8. # else:
  9. # print("MySQL连接失败!")
  10. # db.close()
  11. # except:
  12. # print(traceback.format_exc())
  13. print("这是一个测试!!")