Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,9 @@ conn = mysql.connector.connect(
|
|
| 69 |
password=os.environ.get("PASSWORD"),
|
| 70 |
port=os.environ.get("PORT"),
|
| 71 |
database=os.environ.get("DB"),
|
| 72 |
-
ssl_disabled=True
|
|
|
|
|
|
|
| 73 |
)
|
| 74 |
|
| 75 |
cursor = conn.cursor(dictionary=True)
|
|
|
|
| 69 |
password=os.environ.get("PASSWORD"),
|
| 70 |
port=os.environ.get("PORT"),
|
| 71 |
database=os.environ.get("DB"),
|
| 72 |
+
ssl_disabled=True,
|
| 73 |
+
connection_timeout=60,
|
| 74 |
+
use_pure=True
|
| 75 |
)
|
| 76 |
|
| 77 |
cursor = conn.cursor(dictionary=True)
|