denodrivers / denodrivers/mysql

Currently cannot support auth method mismatch!

Open
#128 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
264
Forks
64
PR merge metrics
No merged PRs in 30d

Description

deno 1.19.2
MySQL Community Server 8.0.28
https://deno.land/x/mysql@v2.10.2
https://deno.land/x/oak@v10.5.1/mod.ts
跑起来报错:
error: Uncaught (in promise) Error: Currently cannot support auth method mismatch!
throw new Error("Currently cannot support auth method mismatch!");
^
at PoolConnection._connect (https://deno.land/x/mysql@v2.10.2/src/connection.ts:104:17)
at async PoolConnection.connect (https://deno.land/x/mysql@v2.10.2/src/connection.ts:148:5)
at async Client.createConnection (https://deno.land/x/mysql@v2.10.2/src/client.ts:47:5)
at async DeferredStack.creator (https://deno.land/x/mysql@v2.10.2/src/pool.ts:61:20)
at async DeferredStack.pop (https://deno.land/x/mysql@v2.10.2/src/deferred.ts:35:16)
at async ConnectionPool.pop (https://deno.land/x/mysql@v2.10.2/src/pool.ts:93:14)
at async Client.useConnection (https://deno.land/x/mysql@v2.10.2/src/client.ts:105:24)
at async Client.execute (https://deno.land/x/mysql@v2.10.2/src/client.ts:96:12)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at src/connection.ts:104, where the reported auth mismatch error is thrown, and trace the connection flow through the cited client and pool files. Reproduce the failure with Deno 1.19.2, MySQL 8.0.28, and mysql v2.10.2. Done means the reported connection succeeds without the auth mismatch error.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, mysql, typescript
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.