MySQL connection error on deployment

The app is working fine locally. But when I deploy it on it’s not able to connect to sql.
I am attaching link to the app.
App Link
I have the following in my secrets toml file in the settings.
dialect = “mysql”
host = “”
port = 3306
username =
password =

i would really appreciate if someone can help me

1 Like

Hi @Taahaa_Dawe

To make it work after deploying to the Community Cloud, you’ll also need to specify the host URL along with username and password which you can do by using st.secrets

Further details at this Docs page:

1 Like