Spaces:
Runtime error
Runtime error
- utils/db.py +1 -1
utils/db.py
CHANGED
@@ -6,7 +6,7 @@ def mysql_conn():
|
|
6 |
host="mysql-omni-omni.b.aivencloud.com",
|
7 |
port='21906',
|
8 |
user="avnadmin",
|
9 |
-
password= os.environ
|
10 |
database = 'defaultdb', )
|
11 |
cursor = conn.cursor()
|
12 |
return cursor, conn
|
|
|
6 |
host="mysql-omni-omni.b.aivencloud.com",
|
7 |
port='21906',
|
8 |
user="avnadmin",
|
9 |
+
password= os.environ('MYSQL_PWD'),
|
10 |
database = 'defaultdb', )
|
11 |
cursor = conn.cursor()
|
12 |
return cursor, conn
|