diff --git a/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/MySQLPacketPayload.java b/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/MySQLPacketPayload.java
index <HASH>..<HASH> 100644
--- a/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/MySQLPacketPayload.java
+++ b/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/MySQLPacketPayload.java
@@ -173,9 +173,12 @@ public final class MySQLPacketPayload {
      */
     public long readIntLenenc() {
         int firstByte = readInt1();
-        if (firstByte <= 0xfb) {
+        if (firstByte < 0xfb) {
             return firstByte;
         }
+        if (0xfb == firstByte) {
+            return 0;
+        }
         if (0xfc == firstByte) {
             return byteBuf.readShortLE();
         }
when packets read the character '0xfb', the length of packets will be 0.