From 8a8717f843bffcd61f189b766d2899272d932de4 Mon Sep 17 00:00:00 2001 From: Eric Northam Date: Wed, 13 Dec 2023 17:09:08 -0600 Subject: [PATCH 1/3] Update README.md Add caching_sha2_password limitation. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d212124c..a4ecd122 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,11 @@ It's currently in production use on github.com. * Only supports the parts of the text protocol that are in common use. -* No support for `LOAD DATA INFILE` on local files +* No support for `LOAD DATA INFILE` on local files. -* `trilogy_escape` assumes an ASCII-compatible connection encoding +* `trilogy_escape` assumes an ASCII-compatible connection encoding. + +* No support for the `caching_sha2_password` authentication plugin. If your server uses it, you will receive a `trilogy_auth_recv: TRILOGY_UNEXPECTED_PACKET` error when authenticating with a password. ## Building From c33b54c3e5cfd0cf7503588a55e902de50bfe077 Mon Sep 17 00:00:00 2001 From: Eric Northam Date: Thu, 14 Dec 2023 06:57:25 -0600 Subject: [PATCH 2/3] Update README.md Updated to include that it's the sha2 plugin is default on MySQL 8. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4ecd122..240c339d 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ It's currently in production use on github.com. * `trilogy_escape` assumes an ASCII-compatible connection encoding. -* No support for the `caching_sha2_password` authentication plugin. If your server uses it, you will receive a `trilogy_auth_recv: TRILOGY_UNEXPECTED_PACKET` error when authenticating with a password. +* No support for the `caching_sha2_password` authentication plugin which is [the default for MySQL 8](https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html). If your server uses it, you will receive a `trilogy_auth_recv: TRILOGY_UNEXPECTED_PACKET` error when authenticating with a password. ## Building From be9e73f7a4ab2e07efebc90e4f1ede9fd5b6ca6e Mon Sep 17 00:00:00 2001 From: "Ben Sheldon [he/him]" Date: Wed, 24 Jan 2024 14:33:30 -0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 240c339d..4a06b0c4 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ It's currently in production use on github.com. * `trilogy_escape` assumes an ASCII-compatible connection encoding. -* No support for the `caching_sha2_password` authentication plugin which is [the default for MySQL 8](https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html). If your server uses it, you will receive a `trilogy_auth_recv: TRILOGY_UNEXPECTED_PACKET` error when authenticating with a password. +* No support for `caching_sha2_password` in [MySQL 8](https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html). Use `mysql_native_password` instead. When misconfigured, your application will raise `Trilogy::QueryError: trilogy_auth_recv: TRILOGY_UNEXPECTED_PACKET`. ## Building