lua-resty-mysql

Nonblocking Lua MySQL driver library for OpenResty / ngx_lua.

$ luarocks install lua-resty-mysql

This Lua library is a MySQL client driver for the ngx_lua nginx module:

http://wiki.nginx.org/HttpLuaModule

This Lua library takes advantage of ngx_lua's cosocket API, which ensures 100% nonblocking behavior.

Note that at least ngx_lua 0.9.11 or ngx_openresty 1.7.4.1 is required.

Also, the bit library is also required. If you're using LuaJIT 2.0 with ngx_lua, then the bit library is already available by default.

Versions

0.15-03 years ago7,595 downloads

Dependencies

lua >= 5.1

Labels

Manifests