安装mysql
D:\nodejs>npm install mysql
D:\nodejs
`-- mysql@2.12.0
+-- bignumber.js@2.4.0
+-- readable-stream@1.1.14
| +-- core-util-is@1.0.2
| +-- inherits@2.0.3
| +-- isarray@0.0.1
| `-- string_decoder@0.10.31
`-- sqlstring@2.2.0
npm WARN enoent ENOENT: no such file or directory, open 'D:\nodejs\package.json'
npm WARN nodejs No description
npm WARN nodejs No repository field.
npm WARN nodejs No README data
npm WARN nodejs No license field.
参考