How to setup Nodejs and Mysql

May 12, 2014 6.4k views
1 Answer
Hi!

We have an article on setting up Node.js on Ubuntu 14.04:

https://digitalocean.com/community/articles/how-to-install-node-js-on-an-ubuntu-14-04-server

As for integrating with Mysql, there are a number of solutions. One popular one is node-mysql: https://github.com/felixge/node-mysql

You can install it with:


npm install mysql


Let us know how it goes, and if you run into any specific issues!
by Justin Ellingwood
Node.js is a popular Javascript platform that can be used to build web applications quickly and easily. Node.js uses Javascript on both the front-end and back-end to create a more consistent experience for developers. In this guide, we'll get you up and running with Node.js on an Ubuntu 14.04 server.
Have another answer? Share your knowledge.