开发者

MySQL Proxy with NodeJS

I am trying to create a simple program that create a proxy between a MySQL-based application and a MySQL server.

Right now,my approach is to change the application to talk to MySQL at port 3065 and my proxy is a simple socket server whose listens to all requests and sending them to MySQL server.

I wanted to change the architecture and I saw this page : http://dev.mysql.com/doc/refman/5.0/en/mysql-proxy-scripting.html, In this page I have exactly what I need - read_query() and read_query_results().

And my main problem is - they are using LUA 开发者_Python百科as the proxy`s scripting language,How can I use this API in NodeJS?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜