just been looking into mysql with lua and found this page from the lua website. All we might need to do is compile(dll or other file type) it into the system. Have a read and let us know

I am also trying to see if we can have a table bbcode system as it would make lists like yours tidier to read. Will let you know how this one turns out. However, the list and its contents are very interesting and i feel you have covered a lot of bases, it will be interesting to see how this plays out.
The PDF is a really good document outlining the data. Good job!
Another idea we had to do with storing your tables could be to use excel and use the script file interaction system you first built for the community to access and read the data into lua easier. That way its easier to type out and read in every time.