Skip to content

Commit

Permalink
fixes #49134, config needs to allow native passwords. golang/go/issue…
Browse files Browse the repository at this point in the history
  • Loading branch information
sprive committed Aug 19, 2023
1 parent 07cc88f commit c581129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions _content/doc/database/open-handle.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ cfg := mysql.Config{
Net: "tcp",
Addr: "127.0.0.1:3306",
DBName: "jazzrecords",
AllowNativePasswords: true,
}
// Get a database handle.
Expand Down
1 change: 1 addition & 0 deletions _content/doc/tutorial/database-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ specific database.
Net: "tcp",
Addr: "127.0.0.1:3306",
DBName: "recordings",
AllowNativePasswords: true,
}
// Get a database handle.
var err error
Expand Down

0 comments on commit c581129

Please sign in to comment.