fudii0921 commited on
Commit
8333a7c
·
verified ·
1 Parent(s): 1d8745a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -72,7 +72,9 @@ conn = mysql.connector.connect(
72
  password=os.environ.get("PASSWORD"),
73
  port=os.environ.get("PORT"),
74
  database=os.environ.get("DB"),
75
- ssl_disabled=True
 
 
76
  )
77
 
78
  cursor = conn.cursor(dictionary=True)
 
72
  password=os.environ.get("PASSWORD"),
73
  port=os.environ.get("PORT"),
74
  database=os.environ.get("DB"),
75
+ ssl_disabled=True,
76
+ connection_timeout=60,
77
+ use_pure=True
78
  )
79
 
80
  cursor = conn.cursor(dictionary=True)