File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ public async Task ConnectAsync(CancellationToken cancellationToken = default)
100100 ? errorPacket . ErrorMessage
101101 : "Authentication failed" ;
102102 throw new InvalidOperationException ( $ "MySQL authentication failed: { errorMsg } (Error { errorPacket . ErrorCode } )") ;
103+ /*
103104 case EOFPacket eofPacket:
104105 // EOF packet received, check if it indicates success
105106 if ((eofPacket.StatusFlags & 0x0002) != 0)
@@ -112,6 +113,7 @@ public async Task ConnectAsync(CancellationToken cancellationToken = default)
112113 {
113114 throw new InvalidOperationException("Authentication failed: EOF packet received without success status. Length: " + eofPacket.Length);
114115 }
116+ */
115117 default :
116118 throw new InvalidOperationException ( $ "Unexpected packet received during authentication: { authResult ? . GetType ( ) . Name ?? "null" } ") ;
117119 }
You can’t perform that action at this time.
0 commit comments