开发者

Node.js - connect to MySQL database server

I got server A, which is a node.js server, and server B which is apache php server. I want to know how I can use server A to get data from database on server B. Is there a module or middleware which ca开发者_如何转开发n do that?


You can connect remotely to server B with node-mysql module by setting client host, port, user and password options (see tutorial and API of node-mysql).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜