Bug #118284 batch update occasionally reports SQLSyntaxErrorException
Submitted: 28 May 7:15 Modified: 30 May 11:30
Reporter: hx x Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:8.0.21 OS:Linux
Assigned to: CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[28 May 8:29] hx x
useServerPrepStmts = false cachePrepStmts = false

Attachment: 43389ee1866f4a129be82b1ee8bea9b5.png (image/png, text), 179.47 KiB.

[29 May 9:42] hx x
com.mysql.cj.protocol.a.NativeProtocol#sendQueryPacket  add log

Attachment: 1748509586734.png (image/png, text), 80.48 KiB.

[29 May 9:44] hx x
com.mysql.cj.protocol.a.SimplePacketSender#send  add log

Attachment: 1748509460787.png (image/png, text), 83.59 KiB.

[29 May 9:46] hx x
normal sql position log

Attachment: 1748508076532.png (image/png, text), 30.14 KiB.

[29 May 9:47] hx x
error sql position log ,position is always 1024

Attachment: 1748508059799.png (image/png, text), 30.70 KiB.