# \#database

**URL:** https://discuss.streamlit.io/tag/database/105.md

[Latest](https://discuss.streamlit.io/latest.md) · [Categories](https://discuss.streamlit.io/categories.md) · [Tags](https://discuss.streamlit.io/tags.md)

---

## [NeuroDiag-AI: A Clinical Triage App using Progressive Disclosure (Nested Session State)](https://discuss.streamlit.io/t/neurodiag-ai-a-clinical-triage-app-using-progressive-disclosure-nested-session-state/120877)

<div class="topic-metadata">

**Author:** [@Stefano5](https://discuss.streamlit.io/u/Stefano5)\
**Replies:** 4\
**Last updated:** [March 26, 2026, 2:26am UTC](https://discuss.streamlit.io/t/neurodiag-ai-a-clinical-triage-app-using-progressive-disclosure-nested-session-state/120877 "2026-03-26T02:26:07Z")

</div>

Hi Streamlit Community! :waving\_hand: I’m a former medical student from Italy, currently transitioning into Data Science and Bioinformatics. During my clinical rotations, I noticed a huge issue: medical software often l…

---

## [New maskintelligence-gif/sql-editor Streamlit App](https://discuss.streamlit.io/t/new-maskintelligence-gif-sql-editor-streamlit-app/120470)

<div class="topic-metadata">

**Author:** [@maskintelligence](https://discuss.streamlit.io/u/maskintelligence)\
**Replies:** 1\
**Last updated:** [January 6, 2026, 8:06pm UTC](https://discuss.streamlit.io/t/new-maskintelligence-gif-sql-editor-streamlit-app/120470 "2026-01-06T20:06:23Z")

</div>

Check out this awesome Streamlit app I built…

---

## [Streamlit Tutorial Series (Part-1 & Part-2): Building a Bio Data Form and Displaying it in a Table](https://discuss.streamlit.io/t/streamlit-tutorial-series-part-1-part-2-building-a-bio-data-form-and-displaying-it-in-a-table/119396)

<div class="topic-metadata">

**Author:** [@hammad.kamalpk](https://discuss.streamlit.io/u/hammad.kamalpk)\
**Replies:** 0\
**Last updated:** [September 7, 2025, 4:57pm UTC](https://discuss.streamlit.io/t/streamlit-tutorial-series-part-1-part-2-building-a-bio-data-form-and-displaying-it-in-a-table/119396 "2025-09-07T16:57:14Z")

</div>

Hi Streamlit Community :waving\_hand:, I’ve started a step-by-step tutorial series on YouTube where I build projects using Streamlit, aimed at beginners who want to get hands-on with Python and Streamlit. :pushpin: Part…

---

## [Pull Request AI Agent for every database schema change with Streamlit, Agno and GibsonAI](https://discuss.streamlit.io/t/pull-request-ai-agent-for-every-database-schema-change-with-streamlit-agno-and-gibsonai/117401)

<div class="topic-metadata">

**Author:** [@Bobur1](https://discuss.streamlit.io/u/Bobur1)\
**Replies:** 0\
**Last updated:** [July 17, 2025, 5:46pm UTC](https://discuss.streamlit.io/t/pull-request-ai-agent-for-every-database-schema-change-with-streamlit-agno-and-gibsonai/117401 "2025-07-17T17:46:11Z")

</div>

Hi Community, In most of my Python projects, I realized I was spending nearly 20% of my development time just updating database schemas and keeping models in sync across multiple environments like dev , staging , and p…

---

## [SQLite  Table Gets Erased After Reboot](https://discuss.streamlit.io/t/sqlite-table-gets-erased-after-reboot/117292)

<div class="topic-metadata">

**Author:** [@Ege1](https://discuss.streamlit.io/u/Ege1)\
**Replies:** 1\
**Last updated:** [July 15, 2025, 1:23pm UTC](https://discuss.streamlit.io/t/sqlite-table-gets-erased-after-reboot/117292 "2025-07-15T13:23:55Z")

</div>

Hello, I’m having issues with my Streamlit app. I have created a SQLite3 connection like this: import sqlite3 import streamlit as st @st.cache\_resource def get\_db\_connection(): return sqlite3.connect("database.db",…

---

## [Issues with Neon connector](https://discuss.streamlit.io/t/issues-with-neon-connector/117283)

<div class="topic-metadata">

**Author:** [@Duerkos](https://discuss.streamlit.io/u/Duerkos)\
**Replies:** 1\
**Last updated:** [July 15, 2025, 10:53am UTC](https://discuss.streamlit.io/t/issues-with-neon-connector/117283 "2025-07-15T10:53:43Z")

</div>

So I am trying to use Neon as my db, for reading and updating a simple table. It was working wonders on local, but I am struggling to make it work on cloud. I’ve tried downgrading psycopg2 to 2.9.6, which made also to do…

---

## [How to prevent page reload with a dialog?](https://discuss.streamlit.io/t/how-to-prevent-page-reload-with-a-dialog/102098)

<div class="topic-metadata">

**Author:** [@Ernest1](https://discuss.streamlit.io/u/Ernest1)\
**Replies:** 1\
**Last updated:** [April 1, 2025, 1:55pm UTC](https://discuss.streamlit.io/t/how-to-prevent-page-reload-with-a-dialog/102098 "2025-04-01T13:55:53Z")

</div>

Pretty much the title. I want a dialog to popup (to warn the user about unsaved changes) whenever the user tries to reload the page and therefore initiate a new session. This seems very basic and therefore I was hoping t…

---

## [Building a Credit System in Streamlit: Database Connection](https://discuss.streamlit.io/t/building-a-credit-system-in-streamlit-database-connection/94343)

<div class="topic-metadata">

**Author:** [@Antoine4](https://discuss.streamlit.io/u/Antoine4)\
**Replies:** 4\
**Last updated:** [March 22, 2025, 12:49am UTC](https://discuss.streamlit.io/t/building-a-credit-system-in-streamlit-database-connection/94343 "2025-03-22T00:49:05Z")

</div>

Hey everyone :wave: The second installment of my series, “Build a Credit Payment System in Streamlit for Gen AI Apps,” is live! This time, I cover connecting your app to a database to securely store user data and manage…

---

## [St.connection errors](https://discuss.streamlit.io/t/st-connection-errors/97899)

<div class="topic-metadata">

**Author:** [@jinbo\_st](https://discuss.streamlit.io/u/jinbo_st)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 3:46pm UTC](https://discuss.streamlit.io/t/st-connection-errors/97899 "2025-03-26T15:46:27Z")

</div>

Hi All, I have an app interacting with remote Postgresql database. From time to time I might receive the following error message: sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) server closed the connection…

---

## [Pool size in sql connections](https://discuss.streamlit.io/t/pool-size-in-sql-connections/92297)

<div class="topic-metadata">

**Author:** [@beyma](https://discuss.streamlit.io/u/beyma)\
**Replies:** 3\
**Last updated:** [March 11, 2025, 8:33am UTC](https://discuss.streamlit.io/t/pool-size-in-sql-connections/92297 "2025-03-11T08:33:13Z")

</div>

Hello, I work with a local mysql sqlite file, for which I successfully establish connection using connection = st.connection('mydb', type='sql') I’d like to specify the parameter pool\_size. I thought I could use con…

---

## [ChromaDB Knowledge Base Not Persisting in Streamlit Cloud Deployment](https://discuss.streamlit.io/t/chromadb-knowledge-base-not-persisting-in-streamlit-cloud-deployment/93922)

<div class="topic-metadata">

**Author:** [@Wira](https://discuss.streamlit.io/u/Wira)\
**Replies:** 0\
**Last updated:** [March 2, 2025, 3:31pm UTC](https://discuss.streamlit.io/t/chromadb-knowledge-base-not-persisting-in-streamlit-cloud-deployment/93922 "2025-03-02T15:31:45Z")

</div>

My RAG Chatbot works perfectly in localhost but loses all knowledge when deployed to Streamlit Cloud. The chatbot responds for questions that work fine locally. What I’ve Tried Checking if ChromaDB initializes in depl…

---

## [DB choice to set up credit balance stripe integration](https://discuss.streamlit.io/t/db-choice-to-set-up-credit-balance-stripe-integration/92448)

<div class="topic-metadata">

**Author:** [@Antoine4](https://discuss.streamlit.io/u/Antoine4)\
**Replies:** 2\
**Last updated:** [February 7, 2025, 3:12pm UTC](https://discuss.streamlit.io/t/db-choice-to-set-up-credit-balance-stripe-integration/92448 "2025-02-07T15:12:19Z")

</div>

Hello! I am currently trying to set up a credit balance functionality on streamlit where users (which would then be checked and consumed when making an API call to e.g. an LLM provider). I also expect to deploy it on St…

---

## [New component: Streamlit Supabase Connector 🎉](https://discuss.streamlit.io/t/new-component-streamlit-supabase-connector/48622)

<div class="topic-metadata">

**Author:** [@SiddhantSadangi](https://discuss.streamlit.io/u/SiddhantSadangi)\
**Replies:** 17\
**Last updated:** [December 17, 2023, 1:06pm UTC](https://discuss.streamlit.io/t/new-component-streamlit-supabase-connector/48622 "2023-12-17T13:06:30Z")

</div>

:electric\_plug: Streamlit Supabase Connector A Streamlit connection component to connect Streamlit to Supabase Storage and Database. :star: Star the repo on GitHub: :eyes: Explore the connector in the demo app (no …

---

## [User Ecosystem: StUser](https://discuss.streamlit.io/t/user-ecosystem-stuser/88713)

<div class="topic-metadata">

**Author:** [@msquaredds](https://discuss.streamlit.io/u/msquaredds)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 8:46pm UTC](https://discuss.streamlit.io/t/user-ecosystem-stuser/88713 "2025-01-02T20:46:12Z")

</div>

StUser I put together a new package to let developers add users to their apps! It’s called stuser and has a full ecosystem around registration and login/logout. Template Note that the package comes with a set of tem…

---

## [Fail to connect to Hive; SASL package error](https://discuss.streamlit.io/t/fail-to-connect-to-hive-sasl-package-error/88295)

<div class="topic-metadata">

**Author:** [@yuningling940912](https://discuss.streamlit.io/u/yuningling940912)\
**Replies:** 0\
**Last updated:** [December 26, 2024, 6:35am UTC](https://discuss.streamlit.io/t/fail-to-connect-to-hive-sasl-package-error/88295 "2024-12-26T06:35:04Z")

</div>

Hi! I’m encountering an issue while deploying an APP including access to Hive db. I’ve followed the documentation and have attempted various combinations of packages.txt and requirements.txt but still kept getting the …

---

## [Postgres Procedure calls](https://discuss.streamlit.io/t/postgres-procedure-calls/86079)

<div class="topic-metadata">

**Author:** [@Uttaran](https://discuss.streamlit.io/u/Uttaran)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 10:37pm UTC](https://discuss.streamlit.io/t/postgres-procedure-calls/86079 "2024-11-20T22:37:41Z")

</div>

Does anyone know how to run procedures or non Select queries using the st.connection? I am trying the old version of using a cursor : cur.execute(“CALL dynamic\_case\_procedure(%s::text, %s::text);”, (col\_name, where\_cla…

---

## [Supabase bucket](https://discuss.streamlit.io/t/supabase-bucket/85089)

<div class="topic-metadata">

**Author:** [@Kaci](https://discuss.streamlit.io/u/Kaci)\
**Replies:** 0\
**Last updated:** [November 7, 2024, 2:58am UTC](https://discuss.streamlit.io/t/supabase-bucket/85089 "2024-11-07T02:58:28Z")

</div>

Hello, I am currently trying to allow users of my app to pull certain files from a supabase storage bucket I have. The idea is to take a user’s text input and then pull the file with that name and graph the data on it. I…

---

## [Any way to mount/sync a volume from local filesystem for data persistence?](https://discuss.streamlit.io/t/any-way-to-mount-sync-a-volume-from-local-filesystem-for-data-persistence/84542)

<div class="topic-metadata">

**Author:** [@Max5](https://discuss.streamlit.io/u/Max5)\
**Replies:** 0\
**Last updated:** [October 30, 2024, 9:08pm UTC](https://discuss.streamlit.io/t/any-way-to-mount-sync-a-volume-from-local-filesystem-for-data-persistence/84542 "2024-10-30T21:08:43Z")

</div>

I have a RAG (Retrieval-Augmented Generation) app I’ve built using python, lancedb (oss), and some LLM APIs. lancedb oss is kinda like duckdb in that from my python code, I interact with it like it’s a database, but then…

---

## [New swinble/data analytics Streamlit App](https://discuss.streamlit.io/t/new-swinble-data-analytics-streamlit-app/83715)

<div class="topic-metadata">

**Author:** [@Chirayut](https://discuss.streamlit.io/u/Chirayut)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 4:27pm UTC](https://discuss.streamlit.io/t/new-swinble-data-analytics-streamlit-app/83715 "2024-10-18T16:27:02Z")

</div>

Are you ready to transform your data into valuable insights? At " https://gdp-dashboard-1j8kd0nb9v3.streamlit.app ", we provide cutting-edge tools and solutions to help you analyze, visualize, and interpret your data lik…

---

## [Chroma Db Error at deployment : File is not a database](https://discuss.streamlit.io/t/chroma-db-error-at-deployment-file-is-not-a-database/83388)

<div class="topic-metadata">

**Author:** [@Mohamed16](https://discuss.streamlit.io/u/Mohamed16)\
**Replies:** 2\
**Last updated:** [October 13, 2024, 11:08pm UTC](https://discuss.streamlit.io/t/chroma-db-error-at-deployment-file-is-not-a-database/83388 "2024-10-13T23:08:45Z")

</div>

Hi, I am deploying a Rag app on streamlit that uses chroma db. The app works just fine on local yet when I try to deploy it I get the error: DatabaseError: file is not a database. Current deployment link: https://gift-…

---

## [Getting the real value instead of the text "a few seconds"](https://discuss.streamlit.io/t/getting-the-real-value-instead-of-the-text-a-few-seconds/81890)

<div class="topic-metadata">

**Author:** [@cholopa](https://discuss.streamlit.io/u/cholopa)\
**Replies:** 12\
**Last updated:** [September 24, 2024, 6:13pm UTC](https://discuss.streamlit.io/t/getting-the-real-value-instead-of-the-text-a-few-seconds/81890 "2024-09-24T18:13:36Z")

</div>

Hello: I’m just starting with Streamlit, hope is a fun journey!!! I have a vey simple app which is connecting to a dBMaria database. The database has a column with time values of this type: 00:34:16.6367. (Witch is …

---

## [Caching a database connection pool for multiple users](https://discuss.streamlit.io/t/caching-a-database-connection-pool-for-multiple-users/81881)

<div class="topic-metadata">

**Author:** [@erik.andersson.7](https://discuss.streamlit.io/u/erik.andersson.7)\
**Replies:** 0\
**Last updated:** [September 22, 2024, 8:35pm UTC](https://discuss.streamlit.io/t/caching-a-database-connection-pool-for-multiple-users/81881 "2024-09-22T20:35:17Z")

</div>

Hello! I am running my multipage app locally, and building it using docker in preparation for deployment via Azure. In my app, users select filters and send a query to my supabase-database. However, since users can send…

---

## [Does an API connection close when browser is closed?](https://discuss.streamlit.io/t/does-an-api-connection-close-when-browser-is-closed/81136)

<div class="topic-metadata">

**Author:** [@cottontail](https://discuss.streamlit.io/u/cottontail)\
**Replies:** 3\
**Last updated:** [September 12, 2024, 9:41pm UTC](https://discuss.streamlit.io/t/does-an-api-connection-close-when-browser-is-closed/81136 "2024-09-12T21:41:49Z")

</div>

I have a streamlit app that is connected to MongoDB Atlas. When a user goes to the link to the app, the database connection starts, and they can do insert or delete documents in that DB. Currently a rough implementation…

---

## [Streamlit and dataframes and databases](https://discuss.streamlit.io/t/streamlit-and-dataframes-and-databases/80568)

<div class="topic-metadata">

**Author:** [@Mark9](https://discuss.streamlit.io/u/Mark9)\
**Replies:** 1\
**Last updated:** [September 5, 2024, 7:52am UTC](https://discuss.streamlit.io/t/streamlit-and-dataframes-and-databases/80568 "2024-09-05T07:52:44Z")

</div>

So, in a few tutorials I watched it looked like they were saving data to a panda dataframe and didnt need a database like suprabase. I was just wondering if I was interpreting this correctly.

---

## [Inserting data via streamlit form to Google sheets](https://discuss.streamlit.io/t/inserting-data-via-streamlit-form-to-google-sheets/38149)

<div class="topic-metadata">

**Author:** [@aniketwattamwar](https://discuss.streamlit.io/u/aniketwattamwar)\
**Replies:** 17\
**Last updated:** [August 9, 2024, 2:59pm UTC](https://discuss.streamlit.io/t/inserting-data-via-streamlit-form-to-google-sheets/38149 "2024-08-09T14:59:18Z")

</div>

Hey All, I have created a form and after submitting the form I want the data to be inserted into a google sheet. I have connected the google sheet to my streamlit app and its running fine. Which python library has any…

---

## [Streamlit app does not allow me to update int field in sqliter higher than 99](https://discuss.streamlit.io/t/streamlit-app-does-not-allow-me-to-update-int-field-in-sqliter-higher-than-99/77797)

<div class="topic-metadata">

**Author:** [@Sigurdur\_Gestsson](https://discuss.streamlit.io/u/Sigurdur_Gestsson)\
**Replies:** 0\
**Last updated:** [August 7, 2024, 2:52pm UTC](https://discuss.streamlit.io/t/streamlit-app-does-not-allow-me-to-update-int-field-in-sqliter-higher-than-99/77797 "2024-08-07T14:52:31Z")

</div>

Hi I’m running python 3.12.4 and when I deploy the app on streamlit server I only can update cells in the column by\_freq to 99 but on my desktop I can save much higher numbers. here is a link to the app: https://ferro-u…

---

## [Synchronization of database and data\_editor](https://discuss.streamlit.io/t/synchronization-of-database-and-data-editor/76431)

<div class="topic-metadata">

**Author:** [@Prynik](https://discuss.streamlit.io/u/Prynik)\
**Replies:** 0\
**Last updated:** [August 4, 2024, 7:14am UTC](https://discuss.streamlit.io/t/synchronization-of-database-and-data-editor/76431 "2024-08-04T07:14:29Z")

</div>

I’m using data\_editor to display and edit data from a database. Changes I make in the data\_editor are saved to the database when I click a button. However, other parts of the system can also make changes to the database,…

---

## [Can't connect PostgreSQL to my Django App in Azure VM](https://discuss.streamlit.io/t/cant-connect-postgresql-to-my-django-app-in-azure-vm/74957)

<div class="topic-metadata">

**Author:** [@nacer](https://discuss.streamlit.io/u/nacer)\
**Replies:** 1\
**Last updated:** [July 16, 2024, 1:49pm UTC](https://discuss.streamlit.io/t/cant-connect-postgresql-to-my-django-app-in-azure-vm/74957 "2024-07-16T13:49:19Z")

</div>

Hello, I am build a django app that I am deploying through a CI/CD pipeline into my Azure VM. I already created a PostgreSQL database. When I deploy my docker container in my VM and try to connect to my database I get t…

---

## [Button on click after reset all code](https://discuss.streamlit.io/t/button-on-click-after-reset-all-code/73746)

<div class="topic-metadata">

**Author:** [@joelroys637](https://discuss.streamlit.io/u/joelroys637)\
**Replies:** 0\
**Last updated:** [June 30, 2024, 6:43am UTC](https://discuss.streamlit.io/t/button-on-click-after-reset-all-code/73746 "2024-06-30T06:43:54Z")

</div>

import streamlit as st import login\_page as pg #login u=st.empty() p=st.empty() b=st.empty() t=st.empty() us=u.text\_input(“USERNAME”) pas=p.text\_input(“PASSWORD”) b.button(“login”) if us==“leo”: if pas==“123”: …

---

## [Updating page with Redis PubSub](https://discuss.streamlit.io/t/updating-page-with-redis-pubsub/73362)

<div class="topic-metadata">

**Author:** [@skyrim\_giant](https://discuss.streamlit.io/u/skyrim_giant)\
**Replies:** 0\
**Last updated:** [June 25, 2024, 12:59pm UTC](https://discuss.streamlit.io/t/updating-page-with-redis-pubsub/73362 "2024-06-25T12:59:18Z")

</div>

Hello, I’m working on a project using Streamlit and I’m unsure if I’m wasting time or if what I want to do is possible. For a school project, I have connected Streamlit to a Redis database. I am trying to build a very …

[Next page](https://discuss.streamlit.io/tag/database/105.md?match_all_tags=true&page=1&tags%5B%5D=database)
