Skip to content
Prev Previous commit
Next Next commit
Update client/auth.go
Co-authored-by: Daniël van Eeden <github@myname.nl>
  • Loading branch information
dvilaverde and dveeden authored Apr 29, 2024
commit 54ca96f01cc9c8892f5e94c18f29310e835a015f
2 changes: 1 addition & 1 deletion client/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (c *Conn) writeAuthHandshake() error {
data[11] = 0x00

// Charset [1 byte]
// use default collation id 33 here, is utf-8
// use default collation id 33 here, is `utf8mb3_general_ci`
collationName := c.collation
if len(collationName) == 0 {
collationName = DEFAULT_COLLATION_NAME
Expand Down