lua-resty-mysql-toolset
Lua mysql client and server toolset based on openresty/lua-resty-mysql
$ opm get huangnauh/lua-resty-mysql-toolset
work-in-progress
Name
lua-resty-mysql-toolset - Lua mysql client and server toolset based on openresty/lua-resty-mysql
Status
This library is still in its early stages of development.
Synopsis
stream {
server {
-- mysql proxy listen on 1234
-- user: runner
-- password: runner123456
listen 1234;
content_by_lua_block {
local proxy = require "resty.mysql.proxy"
local conn, err = proxy:new({user="runner", password="runner123456"})
if err then
return
end
err = conn:handshake()
if err then
return
end
conn:process()
}
}
}
Authors
huangnauh huanglibo2010@gmail.com
License
2bsd
Dependencies
luajit >= 2.1.0, ngx_http_lua >= 0.10.6
Versions
-
Lua mysql client and server toolset based on openresty/lua-resty-mysql 2017-11-15 08:28:42