Commit dc5d565f authored by 张彦钊's avatar 张彦钊

change test file

parent 2d11ac0b
......@@ -101,11 +101,10 @@ def get_time():
if __name__ == "__main__":
db = pymysql.connect(host='172.16.40.158', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='jerry_prod')
sql = "delete from data_feed_click where stat_date >= '2019-07-28' limit 60000"
db = pymysql.connect(host='172.16.40.158', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='jerry_test')
sql = "delete from esmm_train_data_dwell where stat_date >= '2019-07-28' limit 60000"
cursor = db.cursor()
for i in range(25):
print(i)
for i in range(15):
cursor.execute(sql)
db.commit()
......
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