MongoDB PHP Tutorial - 2 - Database and Collection

preview_player
Показать описание

📱 Follow Codevolution

MongoDB | PHP | MongoDB PHP | MongoDB PHP Tutorial for Beginners
Рекомендации по теме
Комментарии
Автор

I could so hug you right now! I've spent hours uninstalling and reinstalling - always getting bogged down with an error somewhere...searching multiple Stack Overflow sites. Your videos helped a BUNCH! It's finally working!

sandrahufford
Автор

Thanks dude, this is what i was looking for. I was having difficulty connecting mongodb and php 7. This helped me a lot. Good job.

AvinashGz
Автор

Your explanation's very well thank you so much!!!

Mocka-yfez
Автор

When I run the demo.php the browser show:

companydb; $result1 = $companydb -> var_dump($result1);*/ ?>

the companydb is not created, do you know what happened?

Tonysunyueran
Автор

Parse error: syntax error, unexpected '$connection' (T_VARIABLE) in on line 4 I get this error can you please give me some advice on how to fix it ?

b
Автор

after i type mongod in cmd it gives me this error:
Failed to set up sockets during startup
Why is that so?
i ve started ampps in background
any solution?

kirtijamor
Автор

Why can't I use the classes Mongo or MongoClient to create a new connection? :)

michari
Автор

Is there any tutorial for using mongodb driver? Like $client = new \MongoDB\Driver\Manager(); ?

jokerillum
Автор

exception in initAndListen: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. --storageEngine=mmapv1., terminating
2017-08-29T11:20:44.101+0500 I CONTROL [initandlisten] dbexit: rc: 100 plz help me

SalmanMemon_Sam
Автор

Hey I am using PHP-7.0. Everytime I try to connect to MongoDB by using MongoDB\Client, "This site cannt be reached" is shown with broken internet connection shows up. When I try with MongoDB/Client, it says "Class 'MongoDB\Client' not found". I have installed all required drivers and Composer as well. phpinfo.php is showing that MongoDB is present. Can you help me?

KaustabhBarman
Автор

How can I connect with username and password. My mongodb instance was with authentication

subhamoyguha
Автор

i am running php7 on fedora 23 and am using mongo for the first time. i can get some commands to run correctly, such as by using the mongoDB\Driver\Command class - but the Client class always fails with: Class 'MongoDB\Client' not found
anyone know why? thanks

urasoul
Автор

i done all the process succesfully but when i trying to run this
$myclient=new MongoDB\Client;
my apache is getting stopped i am not getting the solution anywhere please help me

raghavgaikwad
Автор

require 'vendor/autoload.php'; not found in github Pls provide it

madhusudankrishnamoorthy
Автор

Why are you posting stuff that is not working anymore? I cannot seem to drop database and list databases as well.

b
Автор

I have not any MongoDB folder in Program Files in C drive?

sunnythakur
Автор

This video is obsolete -the library commands referenced have been deprecated and replaced

JayPerf
Автор

How to upload and download files in mongodb from php script?

rpiisenh
Автор

Fatal error: Class 'MongoDB\Client' not found in on line 97
plz help me

manoj
Автор

I did not find the script autoload.php

diegosilvestrin