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?
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?
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.