Skip to content

Currently cannot support auth method mismatch! #128

@dong-lufei

Description

@dong-lufei

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions