Reputation: 2807
I'm quite new to node but believe I have the correct setup here.
I am working locally and have done... npm install mysql -g
When I go to type mysql -p in the node terminal it says that mysql is unrecognized. What am I doing wrong here?
Upvotes: 0
Views: 1400
Reputation: 106696
The mysql
module on npm does not provide any command-line tools, so installing it globally is of no use.
To use the mysql
module, you will have to write your own script according to the module's documentation.
Upvotes: 2