Browse Source

일단 제거

2DU 9 years ago
parent
commit
4d00c94b97
1 changed files with 0 additions and 6 deletions
  1. 0 6
      app.py

+ 0 - 6
app.py

@@ -84,12 +84,6 @@ def start():
 conn = pymysql.connect(host = data['host'], user = data['user'], password = data['pw'], charset = 'utf8mb4')
 curs = conn.cursor(pymysql.cursors.DictCursor)
 
-curs.execute("use mysql")
-try:
-    curs.execute("set global wait_timeout = 315360000")
-except:
-    test = 1
-
 try:
     curs.execute("use " + data['db'])
 except: