Hi,
I made a new mysql binding for LuaJIT, here it is:
https://code.google.com/p/lua-files/wiki/mysql
Features:
- covers all of the functionality provided by the mysql Connector/C 6.1 API
- all data types are supported with multiple options for conversion
- prepared statements, avoiding dynamic allocation and type
conversions when fetching rows
- all C calls are checked for errors and Lua errors are raised
- all C objects are tied to Lua's garbage collector
- lightweight OOP-style API via ffi.metatype
- no external dependencies
Only tested with Windows for now but more tests are coming.
Enjoy,
Cosmin.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.