SQL crashing

Hi, I have built a simple Flask website with an SQL database. If I restart the website through the dashboard I can search the database once and the website works as intended, but then it gives me an error or gets really slow. Project ID: 72fb8922-2d77-4af8-a146-9289c09297e9
6 Replies
Percy
Percy2y ago
Project ID: 72fb8922-2d77-4af8-a146-9289c09297e9
Brody
Brody2y ago
when the flask app becomes slow, please test the database with an external tool like mysql workbench or pgadmin
dust64
dust64OP2y ago
I checked the database with workbench but could not find any trouble. The webpage worked fine on Wednesday and on Thursday, but if I try to search the database from the webpage now I get error 500.
Brody
Brody2y ago
then this would be an issue with the flask app, and not specifically railway
dust64
dust64OP2y ago
But if I got to the dashboard and look trough the tables, one of the tables dose not load new values when I go trough the pages. It eventually freeze and say "Cannot read properties of undefined (reading 'Column_name')"
Brody
Brody2y ago
please do not rely on the data view or query tabs of the database plugin
Want results from more Discord servers?
Add your server