I would like to use MySQL with Node.js on Windows. I have tried to use node-db-mysql, but it looks like it doesn't support Windows. Is there any other MySQL driver for Node.js that works on Windows?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I haven't used it, but https://github.com/felixge/node-mysql is at least pure javascript, so it should not have the same cross-platform concerns as the one you posted, which is a js wrapper around a c++ library.
回答2:
node-mysql compatible mysql driver for node.js (node-mysql2), also works on Windows