hashhashu / sqltools-Oracle-driver

SQLTools Driver for Oracle
MIT License
4 stars 1 forks source link

MAC M1 #4

Closed enzofrnt closed 12 months ago

enzofrnt commented 1 year ago

Hi, that not usable on mac M1. And also after installing oracledb with rosetta npm.

hashhashu commented 1 year ago

Hi, i'm not familiar with things that how mac M1 works and will try to figure it out tomorrow, but i think it has something to do with the install path. In the Edit connection page, you can click the TEST CONNECTION button and maybe can see more info. Thanks.

hashhashu commented 1 year ago

Hi, maybe you can try to install oracledb manually, first try to find the path by search vscode-sqltools with searching tool. And then in the data directory, install it.

enzofrnt commented 1 year ago

I try some things

Capture d’écran 2023-02-04 à 21 59 00 Capture d’écran 2023-02-04 à 21 58 07
hashhashu commented 1 year ago

Hi, from https://github.com/oracle/node-oracledb/issues/1349 I guess it won't work for nodejs 18, so maybe you need to install nodejs14 from homepage directly.

enzofrnt commented 1 year ago

I just try it and…

image
hashhashu commented 1 year ago

Hi, is it still not resolved ?

enzofrnt commented 1 year ago

obviously not

hashhashu commented 1 year ago

sorry for not being helpful, if you have any other questions, please let me know.

FrauElster commented 1 year ago

Can you bump up the version of oracledb to 6?

(Here)[https://github.com/oracle/node-oracledb/issues/1349] it is stated that it works fine with version 6 for arm64 :)

hashhashu commented 1 year ago

ok, i will give it a try a few day later.

hashhashu commented 1 year ago

Hi, i have update oracledb to 6.0.1 and please see if it works.

FrauElster commented 1 year ago

It works :)