Spaces:
Runtime error
Runtime error
- utils/db.py +1 -1
utils/db.py
CHANGED
@@ -2,7 +2,7 @@ import os, mysql.connector, streamlit as st
|
|
2 |
from datetime import datetime
|
3 |
|
4 |
def mysql_conn():
|
5 |
-
password= os.getenv(
|
6 |
conn = mysql.connector.connect(
|
7 |
host="mysql-omni-omni.b.aivencloud.com",
|
8 |
port="21906",
|
|
|
2 |
from datetime import datetime
|
3 |
|
4 |
def mysql_conn():
|
5 |
+
password= os.getenv("MYSQL_PWD"),
|
6 |
conn = mysql.connector.connect(
|
7 |
host="mysql-omni-omni.b.aivencloud.com",
|
8 |
port="21906",
|