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:
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 188.8.131.52 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.