samlonka commited on
Commit
2b900da
1 Parent(s): 9f9b034
Files changed (1) hide show
  1. database.py +2 -1
database.py CHANGED
@@ -16,7 +16,8 @@ def initialize_database():
16
  "user": st.secrets["username"],
17
  "password": st.secrets["password"],
18
  "port": int(st.secrets["port"]),
19
- "database": st.secrets["database"]
 
20
  }
21
  db = pymysql.connect(**db_params)
22
  logging.info("Connected to the database successfully!")
 
16
  "user": st.secrets["username"],
17
  "password": st.secrets["password"],
18
  "port": int(st.secrets["port"]),
19
+ "database": st.secrets["database"],
20
+ "ssl": {"ca": ".streamlit/veda-prod-jumpserver.pem"}
21
  }
22
  db = pymysql.connect(**db_params)
23
  logging.info("Connected to the database successfully!")