views:

139

answers:

2

I have a Lua web app.

I would like to connect and query my MySQL database. I've googled and etc and have not found a good way to do so from Lua.

Any idea how I can connect and query my MySQL from within my Lua web app?

Thanks

+1  A: 

Take a look here: http://projects.stressoft.com/lua-mysql/

CodeMonkey
+2  A: 

You're going to want to use the latest version of LuaSQL, which can be found on its github page. It has quite a few enhancements over the outdated version on the homepage.

leafo