MySQL Forums
Forum List  »  General

Re: frequent "got an error writing communication packets"
Posted by: Alberto Pastore
Date: August 27, 2024 04:32AM

Thank you for your suggestion. I've set up the python script then run again a "show table status" from mysql command line client, everything running locally. Here is the extract from what mysql_monitor prints:

C->S: 0 b'\x14\x00\x00\x00\x03\x00\x01show table status'
S->C: 1 b'\x01\x00\x00\x01\x12'
S->C: 2 b'$\x00\x00\x02\x03def\x00\x06TABLES\x00\x04Name\x04Name\x0c\xff\x00\x00\x01\x00\x00\xfd\x01\x00\x00\x00\x00'
S->C: 3 b'(\x00\x00\x03\x03def\x00\x06TABLES\x00\x06Engine\x06Engine\x0c\xff\x00\x00\x01\x00\x00\xfd\x00\x00\x00\x00\x00'
S->C: 4 b'*\x00\x00\x04\x03def\x00\x06TABLES\x00\x07Version\x07Version\x0c?\x00\x03\x00\x00\x00\x03\x00\x00\x00\x00\x00'
S->C: 5 b'6\x00\x00\x05\x03def\x00\x06TABLES\x06tables\nRow_format\nRow_format\x0c\xff\x00(\x00\x00\x00\xfe\x80\x01\x00\x00\x00'
S->C: 6 b'$\x00\x00\x06\x03def\x00\x06TABLES\x00\x04Rows\x04Rows\x0c?\x00\x15\x00\x00\x00\x08 \x00\x00\x00\x00'
S->C: 7 b'8\x00\x00\x07\x03def\x00\x06TABLES\x00\x0eAvg_row_length\x0eAvg_row_length\x0c?\x00\x15\x00\x00\x00\x08 \x00\x00\x00\x00'
S->C: 8 b'2\x00\x00\x08\x03def\x00\x06TABLES\x00\x0bData_length\x0bData_length\x0c?\x00\x15\x00\x00\x00\x08 \x00\x00\x00\x00'
S->C: 9 b':\x00\x00\t\x03def\x00\x06TABLES\x00\x0fMax_data_length\x0fMax_data_length\x0c?\x00\x15\x00\x00\x00\x08 \x00\x00\x00\x00'
S->C: 10 b'4\x00\x00\n\x03def\x00\x06TABLES\x00\x0cIndex_length\x0cIndex_length\x0c?\x00\x15\x00\x00\x00\x08 \x00\x00\x00\x00'
S->C: 11 b'.\x00\x00\x0b\x03def\x00\x06TABLES\x00\tData_free\tData_free\x0c?\x00\x15\x00\x00\x00\x08 \x00\x00\x00\x00'
S->C: 12 b'8\x00\x00\x0c\x03def\x00\x06TABLES\x00\x0eAuto_increment\x0eAuto_increment\x0c?\x00\x15\x00\x00\x00\x08 \x00\x00\x00\x00'
S->C: 13 b'8\x00\x00\r\x03def\x00\x06TABLES\x06tables\x0bCreate_time\x0bCreate_time\x0c?\x00\x13\x00\x00\x00\x07\x81\x10\x00\x00\x00'
S->C: 14 b'2\x00\x00\x0e\x03def\x00\x06TABLES\x00\x0bUpdate_time\x0bUpdate_time\x0c?\x00\x13\x00\x00\x00\x0c\x80\x00\x00\x00\x00'
S->C: 15 b'0\x00\x00\x0f\x03def\x00\x06TABLES\x00\nCheck_time\nCheck_time\x0c?\x00\x13\x00\x00\x00\x0c\x80\x00\x00\x00\x00'
S->C: 16 b'8\x00\x00\x10\x03def\x00\x06TABLES\ncollations\tCollation\tCollation\x0c\xff\x00\x00\x01\x00\x00\xfd\x00\x10\x00\x00\x00'
S->C: 17 b',\x00\x00\x11\x03def\x00\x06TABLES\x00\x08Checksum\x08Checksum\x0c?\x00\x15\x00\x00\x00\x08\x00\x00\x00\x00\x00'
S->C: 18 b'8\x00\x00\x12\x03def\x00\x06TABLES\x00\x0eCreate_options\x0eCreate_options\x0c\xff\x00\x00\x04\x00\x00\xfd\x00\x00\x00\x00\x00'
S->C: 19 b'*\x00\x00\x13\x03def\x00\x06TABLES\x00\x07Comment\x07Comment\x0c\xff\x00\x00`\x00\x00\xfc\x10\x00\x00\x00\x00'
S->C: 20 b'3\x00\x00\x14\xff\x88\x04#08S01Got an error writing communication packets'


I honestly don't understand much of the mysql client-server protocol and cannot get a clue on the problem anyway.

Options: ReplyQuote


Subject
Written By
Posted
Re: frequent "got an error writing communication packets"
August 27, 2024 04:32AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.