eveningkid / denodb

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
https://eveningkid.com/denodb-docs
MIT License
1.93k stars 129 forks source link

build: bump mysql 2.11.0 #373

Closed whck6 closed 1 year ago

whck6 commented 1 year ago

Signed-off-by: Wenhao Ho wh.ho@outlook.com

whck6 commented 1 year ago

Fix that if using mysql8 with mysql_native_password.

error: Uncaught 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.3/src/connection.ts:104:17)
    at async PoolConnection.connect (https://deno.land/x/mysql@v2.10.3/src/connection.ts:148:5)
    at async Client.createConnection (https://deno.land/x/mysql@v2.10.3/src/client.ts:47:5)
    at async DeferredStack.creator (https://deno.land/x/mysql@v2.10.3/src/pool.ts:61:20)
    at async DeferredStack.pop (https://deno.land/x/mysql@v2.10.3/src/deferred.ts:35:16)
    at async ConnectionPool.pop (https://deno.land/x/mysql@v2.10.3/src/pool.ts:93:14)
    at async Client.useConnection (https://deno.land/x/mysql@v2.10.3/src/client.ts:105:24)
    at async Client.query (https://deno.land/x/mysql@v2.10.3/src/client.ts:85:12)
whck6 commented 1 year ago

@eveningkid Please, merge it.