At first when I run the server it works fine and suddenly it throughs an error and crashes
the server is about fetching the details from MySQL and display it on the server
For connecting the server I used mysql.connector in python
I have done this on Ec2 instance
the error says
File "/usr/local/lib/python3.8/dist-packages/mysql/connector/connection_cext.py", line 504, in cmd_query
self._cmysql.query(query,
_mysql_connector.MySQLInterfaceError: MySQL server has gone away
saying this the server stops
question from:
https://stackoverflow.com/questions/65913584/i-have-created-a-server-on-5000-port-it-work-fine-but-after-few-hours-the-server 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…