Skip to content

Commit 1a2deaf

Browse files
committed
chore: fix mysql_native_password documentation URL to more specific page
1 parent eb864fb commit 1a2deaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ func (mc *mysqlConn) auth(authData []byte, plugin string) ([]byte, error) {
305305
if !mc.cfg.AllowNativePasswords {
306306
return nil, ErrNativePassword
307307
}
308-
// https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_connection_phase_authentication_methods.html
308+
// https://dev.mysql.com/doc/dev/mysql-server/8.4.5/page_protocol_connection_phase_authentication_methods_native_password_authentication.html
309309
// Native password authentication only need and will need 20-byte challenge.
310310
authResp := scramblePassword(authData[:20], mc.cfg.Passwd)
311311
return authResp, nil

0 commit comments

Comments
 (0)