Update app.py
Browse files
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)
|