shuax edited this page Mar 8, 2016 · 4 revisions

在这个 fork https://github.com/chfg007/skynet 里,实现了 mysql 的 driver (改自 OpenResty)。

主要文件为 lualib/mysql.lua3rd/lua-mysqlaux

local status, err = pcall(mysqldb.query,mysqldb,sqlstr) 记得捕获错误,有可能查询的时候链接已经断开。

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.