37 Topics

Member Avatar for
Member Avatar for saichinnu1852

We are working on upgrading our Alteryx application as well as the MongoDB version. We have created a non-production environment to test the upgrade. Since the non-production environment is new, and Alteryx and MongoDB have just been installed to it, it has no existing data yet. We tried to migrate …

1
37
Member Avatar for sankar2000

Hello everyone. I am building a websocket client app that receives all the data and inserts it into a MongoDB database. The program runs, but after a while, some exceptions are rising. import websocket import _thread import time import json import asyncio import os import pwd import socket import traceback …

Member Avatar for rproffitt
0
85
Member Avatar for sankar2000

Hello I am building a database (i prefer MongoDB) that i will store over 100 mil ipv4 and ipv6 records for logging purposes. Data sample : 1.1.1.1 -> 0x1010101 1.2.3.4 -> 0x1020304 34.53.63.25 -> 0x22353f19 255.255.255.255 -> 0xffffffff 0001:0001:0001:0001:0001:0001:0001:0001 -> 0x10001000100010001000100010001 1111:1111:1111:1111:1111:1111:1111:1111 -> 0x11111111111111111111111111111111 2345:0425:2CA1:0000:0000:0567:5673:23b5 -> 0x234504252ca1000000000567567323b5 2345:0425:2CA1::0567:5673:23b5 -> 0x234504252ca1000000000567567323b5 …

Member Avatar for Dani
0
548
Member Avatar for sankar2000

I am building a ipv4/ipv6 geo ip **MongoDB** database and i will have millions (100+) of ips Structure will of the database will be [ { _id: 58fdbf5c0ef8a50b4cdd9a8e , ip: '34.53.63.25', ip_hex: '0x22353f19' , type: "ipv4", data : [ { country : "CA", region : "region1" city : "city1", blacklisted …

Member Avatar for rproffitt
0
304
Member Avatar for sankar2000

The web application will have a database that consists of millions (over 20mil ... maybe 100mil or more) of hosts (ipv4,ipv6 and domains) and additional data to each host like blacklist, uptime, history, geo data (country, region, city, isp). I could, of course, use other RMDBS system like MySQL, Oracle, …

Member Avatar for john_111
0
99
Member Avatar for kiri96

I am developing an app to android and ios, which purpose is get directions to a certain clicked marker (point) in the map. So, I am using the Google Maps API with node.js, and I have the data from the points stored in a MongoDB. I've been serching but I …

0
158
Member Avatar for Afiq||

Im using MongoDB with PHP. Im making a check user exist using their email.It can be check, but when I enter the existing user and click the confirm button, it display the 'echo' and also display an error about converted document to int. Below is what the error say and …

Member Avatar for rproffitt
0
321
Member Avatar for Zagor_1

I edit [this][1] todo app and make a multiple topics version of it. Like todos for X, todos for Y, todos for Z... However i couldn't find a proper way to edit this part : app.param('task_id',function(req,res,next,taskId){ req.db.tasks.findById(taskId,function(error,task){ if(error) return next(error); if(!task) return next(new Error('Task is not found')); //if there's data, …

Member Avatar for rproffitt
0
226
Member Avatar for <HHH>

Hello, Im trying to install pymongo package to be able to connect to MongoDB using pip pip install pymongo but it produce the below error Could not find a version that satisfies the requirement pymongo (from versions: ) No matching distribution found for pymongo

Member Avatar for ~s.o.s~
0
2K
Member Avatar for glao

Hello ,I want to ask how can I succeed an analogous from mongodb to postgresql. app.post('/myjob', function(req, res) { var collection = db.collection('theDB'); collection.insert({ "my_id" : myID, .... }, function (err, mes) { if (err) { res.send("There was an error"); } else { console.log("Ok with ID "+myID); res.send({ "Done!", ID …

0
157
Member Avatar for rouse

I need help in referencing the name of each individual database attached to a MongoDB instance. I just want to connect to a database with PHP and list the names of all the databases. In the code below I can connect to MongoDB instance and find all the databases. I …

Member Avatar for na3eem
0
317
Member Avatar for rouse

I am learning mongoDB , version 3 and I wanted to create a collection with two fileds, a date field and a descrition field. When I try to insert a document with the below syntax, from the mongo shell, I get an error and do not know how to correct …

Member Avatar for rouse
0
14K
Member Avatar for lewashby

import pymongo uri = "mongodb://127.0.0.1:27017" client = pymongo.MongoClient(uri) database = client['fullstack'] collection = database['students'] students = [student['mark'] for student in collection.find({}) if student['mark'] == 99.0] print(students) In the program above how does this work? Why is the `if` statement after the execution code? I would expect the `if` to be …

Member Avatar for Gribouillis
0
400
Member Avatar for lewashby

When I tried to start MongoDB with the `mongod` command I got the following. garrett@mint-desktop ~ $ mongod mongod --help for help and startup options Sun Jan 10 14:50:55.049 [initandlisten] MongoDB starting : pid=23327 port=27017 dbpath=/data/db/ 64-bit host=mint-desktop Sun Jan 10 14:50:55.050 [initandlisten] db version v2.4.9 Sun Jan 10 14:50:55.050 …

Member Avatar for cereal
0
395
Member Avatar for samantha2015

Hello I have a rest web service which implement oauth2.0 . Now I have my web application with a login which currently using spring security. I want to use the same login to authenticate with the rest web service using oauth2. My question is: Does this tutorial is suitable for …

0
200
Member Avatar for Anupam_4

Will u plzz help me for displaying the content from the database in datagridview in vb with backend mongodb?

Member Avatar for Rakhmat_1
0
898
Member Avatar for cakka

I am using this to run the mongodb server : cd /data/v3/services/mongodb/bin sudo ./mongod & How to shutdown the mongodb ?

Member Avatar for cereal
0
90
Member Avatar for isaac.iji.5

what i need is how to save the file part to mongodb using mongoose and also the image id, and also get each image in a link such as localhost//3000/users/photos/234 as u can see im a newbie here thanks /*Define dependencies.*/ var express=require("express"); var multer = require('multer'); var mongoose= require …

0
95
Member Avatar for G_S

Hello everyone. I am currently making some database connection modules in Python inb order to learn Python's approach to OOP and also to lear how to connect to databases via Python. I successfully made a package with modules for postgres, mysql, sqlite3, and MongoDB. The classes simply connect, disconnect and …

Member Avatar for Gribouillis
0
524
Member Avatar for prachi123

I have some code help. <?php error_reporting(0); //$cat = $_POST['cat']; $uri = 'http://ventureburn.com/feed/'; $xml = simplexml_load_file($uri); $namespaces = $xml->getNamespaces(true); $i = 0; $data = ''; //echo '<pre>'; //print_r($xml); //echo '</pre>'; // exit; $string = str_replace(array('[', ']'), '', $string); $string = preg_replace('/\[.*\]/U', '', $string); $string = preg_replace('/&(amp;)?#?[a-z0-9]+;/i', '-', $string); $string = …

Member Avatar for <M/>
-2
170
Member Avatar for Enise

Hi, I want to do full text search in mongoDB by using gridFS, but I couldn't success even though dealing with this problem too much. Can you help me please, thanx in advance.

Member Avatar for JamesCherrill
0
70
Member Avatar for hykyd

I have been creating small personal projects and trying to monetize or just learn from the creation process. I love programming and I am doing it as a hobby, looking forward to become a strong developer as soon as possible. Starting out I used Joomla, Wordpress, Drupal as CMSs but …

Member Avatar for pritaeas
0
268
Member Avatar for renierdbruyn

I am new to Pyramid, Python, Jinja2 , jQuery AJAX, MongoDB and mongoengine. I was told to delvelop a system using these technologies. I am at a point where I do not know how to go futher. I have searched the web for answers, but found nothing that is helpful. …

0
114
Member Avatar for renierdbruyn

I am new to Pyramid, Python, Jinja2 , jQuery AJAX, MongoDB and mongoengine. I was told to delvelop a system using these technologies. I am at a point where I do not know how to go futher. I have searched the web for answers, but found nothing that is helpful. …

0
110
Member Avatar for renierdbruyn

Hi, I am new to Python and am looking into web development frameworks i.e. Pyramid. Is there anyone here who is familiar with this Framework using MongoDB? I am using pymongo and Ming I follwed a tutorial [here](http://pieceofpy.com/2012/01/10/working-with-pyramid-and-ming/). I am getting an `AttributeError: 'str' object has no attribute '_auto_ensure_indexes'` in …

Member Avatar for renierdbruyn
0
531
Member Avatar for happygeek

Last week, the NoSQL database host MongoHQ suffered a breach which exposed customer files, email addresses and password data to the attackers. The ripples from that breach are still being felt, as users of the Sunrise calendar app on the iPhone found out this morning. Luckily that password data was …

Member Avatar for long.duckdong.1848
0
545
Member Avatar for jacob21

Hi, I am executing below query. db.leads.find(); How to get execution time(in milli seconds) it take.

Member Avatar for pritaeas
0
134
Member Avatar for jacob21

Hi Experts, Which database is better acc to Performance factor. Need Suggestions..

Member Avatar for pritaeas
0
246
Member Avatar for rkevinburton

Does someone have an example of how to set up a replication set with an arbiter for MongoDB in a Linux environment?

Member Avatar for BigPaw
0
72
Member Avatar for crashhold

Hello developers, I have written this code which walks through the html files in a directory and fetches event and date information and print it on screen. I want this data to be stored in a database. I have installed mongodb and pymongo module. How can I insert the output …

Member Avatar for Gribouillis
0
323
Member Avatar for Dani

OK, so, as many of you are aware, the new version of Daniweb is approaching. However, I need to warn you about something in advance, so that you have some time to prepare. I've decided to allow posting in ALL forums including top-level categories. I really was getting incredibly tired …

Member Avatar for diafol
0
279
Member Avatar for Mestika

Hi everyone, I’m currently working on my Master Thesis which in few words concentrates about NoSQL databases and performance and tuning tests of particular MongoDB. I’m trying to create some test dummy data to put in so I can run some initially tests to create a baseline for comparison. I’ve …

Member Avatar for curlissue657
0
250
Member Avatar for sacarias40

Hey guys, im working on a website and i need to design the database so that a user can follow another user and it will be easy to figure out the number of people i follow and the number of followers i have. I'm using mongoDb btw. [URL="http://www.mongodb.org/"]http://www.mongodb.org/[/URL] can someone …

Member Avatar for diafol
0
1K
Member Avatar for sacarias40

I have a project im working on that includes an activity stream. I'm working in php and MongoDb (noSql). The site can post articles, users can promote articles or add them to favorites. How may i include these in an activity stream similar to facebook or twitter? Example: Josh, john, …

Member Avatar for diafol
0
88
Member Avatar for sacarias40

I have a project im working on that includes an activity stream. I'm working in php and MongoDb (noSql). The site can post articles, users can promote articles or add them to favorites. How may i include these in an activity stream similar to facebook or twitter? Example: Josh, john, …

0
59
Member Avatar for vaanipala

i'm trying to get mongodb to work with cakephp. I'm not sure on where to place ichikaway's mongodb driver for cakephp. The following is my directory structure: under c:/websites/ I have cakephp folder and my project merry_flowers folder. am i supposed to place the mongodb driver in cakephp/app/plugins or merry_flowers/plugins? …

0
108
Member Avatar for peter_budo

Would be possible to create "generic" sub-forum in Databases where we can place any db related stuff which doesn't fit into any of our present options?(MySQL, MS SQL, Oracle, MS Access and FileMaker Pro, Database Desing) Having something similar to Software Development sub-forum Legacy and Other Languages. Reason: Often there …

Member Avatar for peter_budo
0
363

The End.