lua-resty-mysql
lua-resty-mysql copied to clipboard
Nonblocking Lua MySQL driver library for ngx_lua or OpenResty
Can an option be exposed in `connect()` to set the connection capability flag for `CLIENT_FOUND_ROWS`? Currently, `lua-resty-mysql` sets the flag by default. My use case is when I use `INSERT...
XXX.svn.xxxx.net is my mysql connection DNS. The XXX.svn.xxxx.net behiding are two different servers (two IP) So when i connection to it ,there execption get out : ***Failed to connect: XXX.svn.xxxx.net...
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...
I get "lua tcp socket read timed out" errors every so often and wanted to see if maybe if my syntax is not used correctly for lua mysql before i...
Aliyun RDS server require mysql_host using domain name. When I set "mysql_host = xxxxxxxxxx.mysql.rds.aliyuncs.com", I found can not connect to mysql. Error info: failed to connect: no resolver defined to...
Mentioned by this issue https://github.com/openresty/openresty/issues/212 Maybe better fix with one line
why not call sock::close when read timeout like redis.lua did? In redis.lua,the connection pool was destroyed when read timeout happens > SHA-1: c75af8fe7f71ca05e4bd3ccb3923f6a81d62a67a > bugfix: the memcached connection might enter...
## problem Luajit is poor at creating a lot of similar strings due to hash collisions. The discussion can be seen in [Github: Reduce string hash collisions](https://github.com/LuaJIT/LuaJIT/issues/168). So it consumes...
When I query data from DB, I found I got string for DECIMAL from online DB but number from test DB. I checked the code, I think it maybe do...
Continuing discussion about manual kill of hung mysql connection threads (https://groups.google.com/forum/#!topic/openresty-en/3gbr1Zn49-o)