lua-resty-mysql icon indicating copy to clipboard operation
lua-resty-mysql copied to clipboard

ngx_lua_version check error when using stream

Open supernev opened this issue 7 years ago • 0 comments

Version: openresty 1.13.6.2 Error: /usr/local/openresty/lualib/resty/mysql.lua:31: ngx_lua 0.9.11+ required Description: In /usr/local/openresty/lualib/resty/core/base.lua line 25, resty set ngx.config.ngx_lua_version to ngx_stream_lua_module version 5.

How to fix: Should only check ngx_lua_version < 9011 when subsystem=="http".

supernev avatar Aug 14 '18 04:08 supernev