I am installing mongodb on my windows 7 PC. I have installed mongodb 3.0 along with the necessary drivers & tried starting mongo server, it is working well but when i open the localhost & check for the phpinfo page, it does not show me the details of mongo. I also am using Umongo client for database interaction where i am not able to create database manually. It is just because of this? Where is the problem?. How to resolve this?
Please read this document to add php_mongo.dll services in php 5.3 and later
For adding mongo db in php you need to add php_mongo.dll in your wamp directory
Example:
c:\wamp\bin\php\php5.5.12\ext
Document: https://docs.mongodb.org/ecosystem/drivers/php/
Related
I install mongodp from its web but when its complete its not showing anything i can follow my teacher but in c mongodb 6.0 bin mongodb its not opened but in mongosh its work proper it show the version of mongodb and version of mongosh and show database als but i want to follow my teacher so it is necessary to open from bin. plz 😣 help please.
i want to open mongodb from bin but its not opened from bin but its work properly from mongosh. iwant to follow my teacher.
i reinstall mongodb and also delte from c but its not working. i repair it mongodb install repair option but the problem is not solved.
mongo binary is legacy shell and no longer shipped with server binaries. See for details. If you, for some reason, need it, you should download a server binaries < 6.0, like 5.0.14 from here. And just copy mongo binary from there (without the rest server binaries).
Mongo DB community edition is installed successfully but MongoDBCompass is not auto launching..I could even see MongoDBCompass icon created in desktop and able to search in taskbar...but I am not able to launch or open app by clicking on it...it simply keeps loading for some sec and stops.
I tried uninstalling and installing Mongo DB multiple times but no luck.
I have selected Install Mongo DB as service and selected option Run service as network service users in installation steps as well.
Could anyone please help me? Any help will be highly appreciated.
Thanks in advance.
checked checked for compass install
Mono DB 64bit successfully installed
When attempting to create a Strapi App which is connected to a MongoDB cluster and selecting the custom installation, all online tutorials suggest that "mongodb" should be one of the options in the dropdown list alongside "postgres", "mysql" and "sqlite". However, I am not getting an option for mongodb.
I have tried reinstalling nodejs which then triggered the reinstall of create-strapi-app. I also have mongoDB installed locally.
Strapi has abandoned its support for NoSQL DBs. The MongoDB team might (if at all) write their own connector to MongoDB, however ETA is around July, and stable version ETA is around August.
SQLite is now the default DB. However I believe they recommend using PostgreSQL for production.
try with v3
npx create-strapi-app#3.6.8 fileName
Is running well with MongoDB
This worked for me guys,
Install strapi locally to your system using npm i strapi#alpha -g
Run mongodb locally on your system.
Use strapi new <project name> for creating a new project.
Choose your installation type as "custom"
This will avail "Mongo" on the list of supported Databases for Strapi.
Hope this will work for everyone.
Thanks
Reference:
https://strapi.gitee.io/documentation/3.0.0-alpha.x/guides/databases.html#mongodb-installation
I am taking the "mongodb for node.js" course and trying to import/restore data to my mongolab instance but I keep getting Auth err code 18 errors.
I can connect to any instance I create using the mongo --shell from the nitrous.io box and it works fine. So my connect string and env variables are correct. If I change the password when logging in to mongo shell it actually gives me the opportunity to put in the correct password. So I know the user authentication is proper.
I am confused as to why I still get Auth err code 18 errors when I try to use the supplied mongodump files.
I have also tried specifying individual .bson files and that gives the same error as well.
I am connecting to mongod version 2.4.6 but mongorestore is only 2.0.4 on the nitrous.io box. I wanted to update to the newer version and see if this is the problem. I have read other posts from other sites where this seemd to break in version 2.2.2. while importing using older versions of the binaries for restore.
it does not appear you(nitrous.io developers) leave a way to update or support mongodb versioning. Do you have a way I could update to mongodb v2.4.6?
also if you could add htop and bmon to your image that would be nice.
Nitrous has released a package manager dubbed autoparts which will allow you to install mongodb 2.4.6.
Autoparts requires you to have a Nitrous box on version "bran" or later. If you are on version "arya" then you will need to download the contents within your box (SCP or Nitrous Mac App), terminate the box, followed by creating a new box in order to upgrade.
Take a look at the README within the Github Repo for instructions on how to use autoparts:
https://github.com/action-io/autoparts
To install/update mongodb to the latest version, run the following command:
parts install mongodb
After the installation completes, run mongo in the console to check the version. You may need to restart the console if it is reporting an older version.
I used wamp for all my projects. But today, I was asked to use mongodb and cakephp to try something new. I have a limited knowledge on how cakephp works, and I was able to install mongodb without any problems. My dilemma are, since I am new to both technology, do I have to uninstall wamp? If yes, what is the server that I am going to use then? Still Apache? Do I have to install both Apache and PHP separately/ manually?
What do I do? Please help.
Where do I unzip the cakephp then? in the www/root folder I created for apache?
CakePHP is just a framework that runs on top of Apache+PHP and MongoDB is just a database like MySQL (which comes with WAMP). As MySQL and MongoDB don't conflict at all, you shouldn't uninstall anything. You will still need the A (apache) and P (PHP) of your WAMP stack.