denodrivers/mysql

error Deno api connect to mariaDB Database on azure

arnobn opened this issue · 4 comments

Im trying to connect with a local deno API on my remote azure database (mariaDB version 10.3)
but im facing this error : Currently cannot support auth method mismatch .

So after few research on the denodrivers/mysql repository page: https://github.com/denodrivers/mysql/blob/master/src/connection.ts
error_deno

We found out that we are in that case on :
https://github.com/denodrivers/mysql/blob/e101b49adf5c0a6972acdc4762fe695573fdf7bc/src/packets/parsers/handshake.ts
image

The denodrivers/mysql repository page said that the error is thrown if EOF(less than 5.7 or mariadb version is 10.0 or 10.1)
image

but as i said at the beginning we are on 10.3 for mariaDB so im a bit lost of how am i suppose to connect to our db.

Here the code without password and hostname :
image

The driver currently doesn't support Authentication Method Mismatch. We need to implement it to fix the problem.

Any solution about this mysql 8

Hello, may I ask if the problem has been solved?

Should be fixed by #137. Please reopen this issue if the problem still occurs.