How to Install mysql NPM Packages on Ubuntu / Debian

How to Install mysql software package in NPM Packages

mysql : A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.. You can installing 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 mysql
$ sudo npm install -g mysql

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

$ sudo npm update mysql

Update package globally,

$ npm install -g mysql

Git clone:

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

mysql@2.15.0 /usr/lib/node_modules/mysql

How to remove mysql package :

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

$ sudo npm uninstall mysql

Basic Information of mysql NPM Package:

Package Name mysql
Version 2.15.0
Description A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.
Released Date 2017-10-05T18:52:27.532Z
Published by dougwilson
How to Learn https://www.npmjs.com/package/mysql/tutorial