Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
299 views
in Technique[技术] by (71.8m points)

python - I have created a server on 5000 port it work fine but after few hours the server gets crashed

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...