https://lacucinadiadine.blogspot.com/2023/10/python-mysql-connection-is-open-but.html
Python: Mysql Connection Is Open, But Can't Create Cursor