Top "Node-mysql" questions

A pure node.

Node.js mysql transaction

Can anyone provide an example of how I could achieve MySQL transactions in Node.js. I am trying to get …

mysql node.js transactions express node-mysql
Node.js MySQL Needing Persistent Connection

I need a persistent MySQL connection for my Node web app. The problem is that this happens about a few …

mysql node.js node-mysql
node.js-MySQL COUNT the number of records

I have following code. var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost', user : 'root', password : '', database : 'test' }); …

mysql node.js node-mysql
Node.js cannot find module 'readable-stream'

I am new to node.js and stuck on the following. Any help will be appreciated: I am running node.…

node.js node-mysql
How to input a NodeJS variable into an SQL query

I want to write an SQL query that contains a NodeJS variable. When I do this, it gives me an …

sql node.js node-mysql
node-mysql error: connect ECONNREFUSED

I'm trying to setup a remote connection between my database server and a client node app using node-mysql. When I …

mysql node.js nginx node-mysql
'ER_PARSE_ERROR' on node mysql when inserting multiple values

I'm trying to put in multiple values into database using node-mysql in node. my source code engine.files.forEach(function(…

mysql sql node.js node-mysql
How to properly pass mysql connection to routes with express.js

I am trying to figure out the best way to pass a mysql connection (using node-mysql) between my routes for …

node.js express node-mysql
Node-Mysql throwing connection timeout

My node.js app gives 5xx due to connection timeouts at random times. Here's how I connect and query: var …

javascript mysql node.js amazon-rds node-mysql
Node MySQL escape LIKE statement

How do escape a MySQL LIKE statement in node-mysql? Something along the lines of "SELECT * FROM card WHERE name LIKE …

javascript mysql node.js node-mysql