About 517,000 results
Open links in new tab
  1. MySQL with Node.js - Stack Overflow

    Apr 28, 2011 · I've just started getting into Node.js. I come from a PHP background, so I'm fairly used to using MySQL for all my database needs. How can I use MySQL with Node.js?

  2. Preventing SQL injection in Node.js - Stack Overflow

    Some Context: I'm making a web application with a back-end stack consisting of Node.js + MySql using the node-mysql module. From a usability perspective, the module is great, but it has not …

  3. Node.js MySQL model designing - Stack Overflow

    I'm developing a node.js application using MySQL database but I'm stuck with making models on the node.js side of my application. I've used Mongoose before to produce schemas and use …

  4. node.js mysql error: ECONNREFUSED - Stack Overflow

    May 18, 2017 · running this from the command line works fine mysql -hlocalhost -uroot -pxxx.. How can I kill all node.js scripts?!

  5. Node.js MySQL - Error: connect ECONNREFUSED - Stack Overflow

    45 I use Node.js server side. I tried my code on localhost and everything works fine. I bought a server and installed Apache and node.js on it and test my web application there. I correctly …

  6. node.js - Retrieve last inserted id with Mysql - Stack Overflow

    Good day, I am willing to retrieve the id value of a freshly inserted row in Mysql. I know there is mysqli_insert_id function, but: I can't specify the table Maybe there would be a risk of retriev...

  7. Node.js MySQL Error Handling - Stack Overflow

    Oct 20, 2016 · I've read several examples for using mysql in node.js and I have questions about the error handling. Most examples do error handling like this (perhaps for brevity ...

  8. node.js - MySQL 8.0 - Client does not support authentication …

    Apr 30, 2018 · I can't make a simple connection to the server for some reason. I install the newest MySQL Community 8.0 database along with Node.JS with default settings. This is my node.js …

  9. node.js - how does createConnection work with nodeJS in mysql?

    Oct 20, 2016 · user : 'bob', password : 'secret' }); I'm writing an application in nodeJS using mysql module. I have some own modules, for example authentication, which definetely needs DB …

  10. node.js - nodejs mysql Error: Connection lost The server closed the ...

    May 22, 2021 · A pragmatic solution is to force MySQL to keep the connection alive: setInterval(function () { db.query('SELECT 1'); }, 5000); I prefer this solution to connection pool …