mysql icon indicating copy to clipboard operation
mysql copied to clipboard

error Deno api connect to mariaDB Database on azure

Open arnobn opened this issue 3 years ago • 3 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

arnobn avatar Apr 07 '21 14:04 arnobn

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

lideming avatar May 03 '21 17:05 lideming

Any solution about this mysql 8

BayoKwendo avatar Oct 29 '21 08:10 BayoKwendo

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

boonook avatar Jul 04 '22 01:07 boonook

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

lideming avatar Nov 25 '22 15:11 lideming