Commit 0943557e authored by 任婷婷's avatar 任婷婷

.

parent 2490db6d
......@@ -3,11 +3,20 @@ import pandas as pd
import datetime
# def get_jerry_test():
# db = pymysql.connect(host="bj-cdb-6slgqwlc.sql.tencentcdb.com",
# port=62120,
# user="work",
# passwd="Gengmei1",
# db="jerry_test",
# charset="utf8")
# return db, db.cursor()
def get_jerry_test():
db = pymysql.connect(host="bj-cdb-6slgqwlc.sql.tencentcdb.com",
port=62120,
user="work",
passwd="Gengmei1",
db = pymysql.connect(host="172.16.40.170",
port=4000,
user="st_user",
passwd="aqpuBLYzEV7tML5RPsN1pntUzFy",
db="jerry_test",
charset="utf8")
return db, db.cursor()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment