How to deploy app with database

hello

I’m a newcomer to Streamlit users. I have a problem when I want to deploy an application.

The problem is that the application I created uses MySQL and runs fine locally, and I want to deploy the application and I don’t know what to do to deploy it with the database.

i have link for my app, but idk i have little problem with plotly and also i have to host my database idk what to do.

app link : Streamlit (gasinka-fjhepdappwxgdgopyyn8dd.streamlit.app)

using python 3.11

I recommend searching for “database hosting” to find a platform or service that will meet your needs. There are some free options available for simple enough use cases. If you aren’t restricted to MySQL in particular, there’s a tutorial in the docs for using Neon, which comes with a free tier.