Installing MongoDB compass this may take a few minutes - node.js

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.

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.

MongoDB error as setup Wizard ended prematurely, while installing it on windows 10

I have downloaded MongoDB from the official site as an .msi file and during installation it stops and freezes and after half an hour, and gives an error as the setup wizard ended prematurely.
I have a fresh installation of Windows 10 Pro (64-bit) installed just today, and there are no other applications which should be interfering with MongoDB.
I have NodeJS (v8.10.0), npm(5.6.0) installed properly
Windows firewall is turned off and there is no antivirus running.
Is this problem of any missing drivers or any change in BIOS settings?
For me unchecking Install Compass helped ...
I disabled installing the router (mongos) and bundeled software client (MongoDB Compass) and installer ran fine after that. Hope this helps.
I had this problem too and solve it in this way:
Remove the older version of MongoDB if you have installed it before.
Disable your antivirus if you have any of them
Go to C:>users>"UserName">AppData>Local>Temp
Right Click on Temp and go to Properties
Select Security Tab
Select the User and check the permission and controll give the user full control by Checking Full Control on permission
Go Ahead and Install MongoDB.
Note that if you want to install MongoDB compass too, you should have internet connection.
I hope this will work for you.

Access database informix using 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

SQL Server 2012 Express checking and silent installation

We need to perform the following using InstallShield 2013, can someone please guide me:
Check if SQL Server Express is installed in the user's machine or not.
If present, what is the version that is present.
If the version is not 2012, then we need to install SQL Server Express 2012 silently in the background.
Give write access on a folder for a particular login (Sql service)
After installation of SQL Express 2012, we need to restore a database from a .bak file.
After restoring the db, how to run some sql scripts?
Please provide me any link or guidance on how to acheive the above objectives. I am also parallely trying to read the documentation and blogs, but they are vast.
Thanks in advance,
Pavan
There are different ways to achieve it. You can do a check using prerequisite and get it installed. You can use custom action or install script to do the silent install of SQL server after doing registry check.
once installed, using the script you can restore the database, and installshiled basic msi provides options to include the sql scripts and run it or using the installscript you can run the sql scripts .

Has anyone had any issues with MySQL 5.1 and ExpressionEngine?

Our main client server is running MySQL 5.0.96, but we'd like to upgrade to 5.1. We're running a couple of older EE1.6 sites (non older than 1.6.7 iirc), and the rest are EE2.2+
Are there any gotchas/problems we might encounter (maybe in our custom self-wrriten add-ons) when we upgrade?
Thanks!
I run many EE installs with MySQL 5.1+ clients with no issues. Unless your SQL in custom add-on is really sloppy and you're running MySQL in STRICT mode, I can't see any issues.
My production server runs 5.1 and both my local and dev servers run 5.5 without issue, so I doubt you'll run into any problems.
Currently running 5.5.28 without any problem.

Resources