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.
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
                        
                        
                            
                            0
                        
                        
                            
                            0
                        
                     
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论