Tagged Questions
1
vote
1answer
14 views
How to set a web service on AMAZON (AWS) which is running a NODEJS server?
Hi Everyone !
How to set up the connection between client (eg:MY Mobile browser) and the AWS Server which is running NODE server on it?
Is Web service is required?
If so which one?
How to set up ...
0
votes
0answers
9 views
Compoundjs fails to run with jugglingdb-mysql
Trying to test compoundjs with mysql but it fails.
My system is Debian 7 with following versions of nodejs & npm
$ node -v
v0.10.13
$ npm -v
1.3.4
Here is how I installed compoundjs
sudo ...
0
votes
1answer
24 views
How to access mysql database with socket.io
I'm just getting into coding server side javascript and have been reading tutorials on socket.io and node.js, but I haven't come across anything demonstrating how to use node.js to access a mysql ...
-3
votes
2answers
51 views
Let Node.js and PHP use the same database(mysql)? [on hold]
I built a application using PHP, and I want to make my application have a real-time service. So, I use socket.io with Node.js. But, how to let Node.js and PHP use the same database(mysql)?
0
votes
0answers
16 views
sails-mysql schema datatypes
anyone used node's sails framework using mysql as DB (https://github.com/balderdashy/sails-mysql)?
I am stuck in models, I can't create the database structure.The datatypes that need to use to create ...
0
votes
1answer
45 views
nodejs mysql amazing row duplicates
I have problem for node.js.
I read data for socket, using dgram.createSocket('udp4').
I parse data and write to mysql db (use https://npmjs.org/package/mysql) with code:
var result = {
...
0
votes
1answer
23 views
NodeJS with mysql returning the first query result
I have a NodeJS with Express and mysql. I have put an Generic sql function so I call it for multiple times:
exports.selectCommand=function(table,cols,cond){
var connection = ...
-1
votes
1answer
28 views
Filesystem backend
I am building an project where users can store files. They can also create folders in them. I am going to use AWS S3 for storing the files. These files can be shared with other users also. Now looking ...
0
votes
1answer
48 views
How to show data from mysql in nodejs with a refresh rate
I'd like to show data from mysql using nodejs with a refresh rate. I've done following coding and getting result. But the problem is if i open localhost:8000/?id=1 on browser in one tab it's showing ...
0
votes
1answer
23 views
Querying multiple rows using node-mysql
This issue pertains to node-mysql.
I seem to be having a problem with the following code, and it seems to be related to the use of user defined variables. The rendered query runs fine inside of any ...
0
votes
2answers
40 views
Can't connect to localhost database from node.js server
Been having a lot of trouble trying to connect to to my localhost database. I've tried using the mysql and mysql-simple node modules but in both cases I just can't get it to connect.
Here's what I ...
0
votes
1answer
22 views
Nodejs mysql query not executing
Im trying to use node.js for the creation of a mysql database and tables.
The query i want to execute is:
CREATE DATABASE NodeTest;USE NodeTest;CREATE TABLE tblUsers (userId varchar(32), userName ...
0
votes
1answer
12 views
Node.js http with mysql pooling quits unexpectedly on error
So I started to try node.js this morning and was able to come-up with a http service that handles path requests and can connect to mysql with pooling for multiple transactions.
I am just having ...
0
votes
1answer
33 views
SELECT not working in node.js
I'm trying to use a SELECT query on my SQL database using node.js, the SELECT query below should work but doesn't. This is weird because I think this should work but it doesn't even enter the ...
0
votes
1answer
20 views
Acces database from appfog's node.js server (Database settings)
I'm trying to connect to a database using a node.js server both hosted on appfog.com using these settings:
var client = mysql.createConnection({
host: 'mysql-node01.eu-west-1.aws.af.cm',
user: ...