Luasql and SQLite?
Don't rename the DLL file: This will cause Lua not to find the initialization function in the DLL (which is named the same as the DLL).
You don't need the
module
call, justrequire
.module
is used when you are creating a module, not when you use it.
Edit: According to the LuaSQL documentation, it looks like you need to call luasql.sqlite3()
instead of luasql.sqlite()
.