MySQL binding for LuaJIT with FFI
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dllbin
.gitignore
.gitmodules
.travis.yml
Makefile
README.md
luajit-mysql.lua
test.lua

README.md

MySQL binding for LuaJIT with FFI

Using FFI, pure Lua. so you don't have to build when install. (still requires libmysqlclient dynamic link object in environment)

How to Use

See test.lua that includes hello world examples and tests on variable types.

Requirements

  • OSX: libmysqlclient.dylib (tested on mysql 5.1.59)
  • Linux: (not tested yet)

Limitations

Only supports blocking interface (libmysqlclient)

TODO

  • linux test
  • async : Tough. need to modify luvit, libuv