Question

How to setup Nodejs and Mysql

Posted May 12, 2014 11.6k views

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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.
Submit an Answer