Mysql handshake appears got packets out of order

during the handshake with the mysql server, I received the ERR_PACKET packet returned by the server, which indicated that got packets out of order, I checked the package carefully to make sure there was no problem with the data. At the same time, the max_allowed_packet_size&& wait_timeout of the server was also set up normally. What kind of problem is this? has anyone encountered this problem?

Apr.14,2021

self-question and answer, which has been solved, is that the packet sent is too large. Specifically, the julia send [34 _ 0xa _ 0xb] interprets the first byte as 0x34 rather than 30x4, which causes the packet to be too long.


exactly how to solve this problem, I also encountered this problem.


how to solve the problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e58e70-454dc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e58e70-454dc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?