Connection to database successfull.

Fatal error: Uncaught MongoDB\Driver\Exception\BulkWriteException: command insert requires authentication in /home/devdemo/public_html/mongophp/vendor/mongodb/mongodb/src/Operation/InsertMany.php:142 Stack trace: #0 /home/devdemo/public_html/mongophp/vendor/mongodb/mongodb/src/Operation/InsertMany.php(142): MongoDB\Driver\Server->executeBulkWrite('shoyeb.mytable', Object(MongoDB\Driver\BulkWrite), Array) #1 /home/devdemo/public_html/mongophp/vendor/mongodb/mongodb/src/Collection.php(869): MongoDB\Operation\InsertMany->execute(Object(MongoDB\Driver\Server)) #2 /home/devdemo/public_html/mongophp/index.php(16): MongoDB\Collection->insertMany(Array) #3 {main} thrown in /home/devdemo/public_html/mongophp/vendor/mongodb/mongodb/src/Operation/InsertMany.php on line 142