How to Install node-mysql NPM Packages on Ubuntu / Debian

How to Install node-mysql software package in NPM Packages

node-mysql : A wrapper of node.js mysql package to make it a bit easier to use.. You can installing node-mysql npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install node-mysql
$ sudo npm install -g node-mysql

If want to update the node-mysql package execute the command as below,

$ sudo npm update node-mysql

Update package globally,

$ npm install -g node-mysql

Git clone:

$ sudo  git clone https://github.com/rektide/node-mysql.git
$ sudo  npm install -g ./node-mysql

node-mysql@0.4.2 /usr/lib/node_modules/node-mysql

How to remove node-mysql package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall node-mysql

Basic Information of node-mysql NPM Package:

Package Name node-mysql
Version 0.4.2
Description A wrapper of node.js mysql package to make it a bit easier to use.
Released Date 2015-01-23T22:42:54.337Z
Published by redblaze
How to Learn https://www.npmjs.com/package/node-mysql/tutorial