37 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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, … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Will u plzz help me for displaying the content from the database in datagridview in vb with backend mongodb? | |
I am using this to run the mongodb server : cd /data/v3/services/mongodb/bin sudo ./mongod & How to shutdown the mongodb ? | |
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 … | |
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 … | |
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 = … | |
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. | |
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 … | |
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. … | |
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. … | |
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 … | |
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 … | |
Hi Experts, Which database is better acc to Performance factor. Need Suggestions.. | |
Does someone have an example of how to set up a replication set with an arbiter for MongoDB in a Linux environment? | |
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 … | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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, … ![]() | |
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, … | |
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? … | |
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 … |
The End.