MySQl connection does't work

I got this erro when trying to connect to my table in MySQl

OperationalError: (MySQLdb.OperationalError) (2002, "Can't connect to local 
MySQL server through socket '/run/mysqld/mysqld.sock' (2)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)

I am not able to fix it. The app is deployed on Streamlit Cloud and the code is the basic as showed in the tutorial.
The query is the problem, I think

THanks in advance, Luigi

1 Like