Access database informix using Node.JS - node.js

I see this question 2 years ago but any kind of solution How to install informix on node.js?.
I'm trying to access informix using nodejs in a Windows enviroment, I try some npm packages but didnt have a good result and others need to be only on Linux.
Thanks for any suggestion, btw need to be in Windows becouse the server.

Here is the Informix Native Node.JS driver URL
https://www.npmjs.com/package/ifx_db

Related

Deploying a Node.js project which uses Oracle Cloud database to Azure App Service

I have an application in Node JS which uses Oracle cloud anonymous database which is currently working perfectly with my application at local.
I wanted to deploy this app on Azure App Service and so I followed this Microsoft Doc Link using this I was able to deploy my project and it is running on the server but unfortunately it is not able to connect to my oracle could database
while deploying I got some logs which says this
** Node-oracledb 4.2.0 installed for Node.js 14.17.4 (linux, x64)
oracledb **
oracledb ** To use node-oracledb:
oracledb ** - Oracle Client libraries (64-bit) must be configured with ldconfig or LD_LIBRARY_PATH
oracledb ** - To get libraries, install an Instant Client Basic or Basic Light package from
oracledb ** https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html
oracledb **
oracledb ** Installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html
oracledb
so from this, I somehow understood that I need to configure the Oracle client on a Linux server so after spending hours I got a solution where I need to set up the path here is the Oracle Doc but even this settings did not worked for me still not able to connect it.
also, one more thing I noticed was as soon as I redeploy or restart my App Service the settings get vanished
for oracle, I have database name, password, connection string, and oracle has also provided me with waller.zip which has tnsnames and cwaller.sso
have spent 3 days understanding the problem, if someone can help with it would be great, please comment if you need any more details to understand my problem
This is not a full answer (i.e. it's too big for a comment).
Start by upgrading to a recent version of node-oracledb, e.g. 5.2.
It sounds like you know what to do with the wallet files, but here is the node-oracledb doc on Connecting to Oracle Cloud Autonomous Databases. If you don't have the wallet files in a default location you can (with node-oracledb 5) use initOracleClient({configDir:'/your/path'}) to indicate their location.
The final piece is to set LD_LIBRARY_PATH to the location of your Instant Client libraries. Search for Azure doc on how to do this - I don't have experience with this environment.

Installing MongoDB compass this may take a few minutes

It has been half an hour and it is still stuck at the same progress. My machine is Windows 7 and I have downloaded the Community Server 2008 R2 64-bit and later. Sreenshot
Does anyone know why? Do I really need Compass if I were to use it with Node.js?
I'm new to MongoDB and node.js
Please help. Thanks in advance
As for January 2021, I've faced this issue with version 4.4.3. Press cancel on the installation won't help, and need to close the PowerShell process.
Then, Re-install without the compass, and after successful installation, install manually only the compass itself.
Compass is a GUI client which can be used to manages collections, documents etc.
To do development in Node.JS (or any other programming language) you do not need Compass as it is a GUI tool which is a mongo client.
You can use mongo CLI client(Recommended). If you really need GUI tool, you can try Robo 3T.
Only MongoDB server + any client is needed for most web development. Any client can be used to configure it, like CLI or Robo 3T or compass.
Although, you even don't need local installation of mongoDB server. You can use a cloud database like MongoDB Atlas. It has all tools inbuilt as is very powerful. However I would still recommend doing a local installation of mongo server to avoid dependency of network while testing your app.
Please refer to the following link.
https://checkinnuggets.wordpress.com/2018/01/14/installation-update-of-mongodb-3-6-2-on-windows-hangs/
Instead of choosing Complete Installation, choose "Custom" instead, then at the last step, uncheck 'Install MongoDB Compass'. This will complete the installation.
Downloading/installing version 4.0.14 worked for me.

Connecting to DB2 database with python

I am trying to connect to a DB2 mainframe from my machine through Jupyter Notebooks.
I am on a 32-bit machine Windows 7 machine.
I am using Python version 3.6.1
Did a bit of research and from what i could find online there are two ways to do this....
Packages:
pyodbc,
ibm_db
I think i read in another post that the official way to do it is using ibm_db.
I tried a couple of times with pyodbc but couldn't get it to work.
So i figured i would try ibm_db.
I tried install ibm_db using pip and easy_install but i keep getting the following messages.
Could someone please provide some guidance?
Also, my ODBC Data Source Adminstrator Window, system DSN tab looks as follows
I was trying to use the pyMainframe DSN but couldnt get that to work either.
As you can see i do have an iSeries Access ODBC driver installed. Not sure if python can use this.
I am a bit of a noob. Thanks in advance. Please let me know if you need any additional information
The issue is that i was using python 3.6.1
For python 3 the only version supported is 3.4.0.
No other version of 3.4 is supported, not sure about < 3.4
Thanks all for your help.
Here is where i found the answer. + a little trial and error.
https://groups.google.com/forum/#!topic/ibm_db/6-sOpk4zkCU
You're not connecting to a mainframe (z/OS) you're connecting to a midrange system (IBM i aka iSeries/AS-400) completely different machines and OS.
Using ibm_db requires the IBM DB2 connect product ($$$) to connect to IBM i.
You're going to want to use just an ODBC connection via pyodbc(?).

Trying to connect to Oracle DB through Electron in Windows 7

I'm trying to connect to Oracle database through the Electron app I'm building. What options do I have?
Use node-oracledb. Electron has some ABI compatibility issues so review what other node-oracledb users are doing before you start.

Could not create connection from Driver

i am new to the oracle. ,My project is .net web application which is connected to the oracle database(oracle 11g) when i run my solution in local environment, i get the error in the below line saying that "Could not create connection from Driver".
return factory.ConnectionProvider.GetConnection();
but this project is working fine in windows XP and I am using windows 7 with oracle 11g installed in my system where i am facing the problem.please can any one give solution.
I understand from the team that this project is designed with oracle 9.2 in mind. how do i make it work in oracle 11g which i have it currently.
I would advise you to use Oracle's Managed Data Provider for .NET. All your problems with local Oracle installations will go away immediately. Since it's a 100% managed driver, you won't need to install Oracle's client on your machine before connecting to it with .NET programs.

Resources