Mike, I feel your pain.
Just for some history, the guy who wrote that MySQL code in the wiki is the one and only original developer of this language. He stayed current with this (his) project up until a couple of years ago. For 10 years, he worked solely on taking QB64 from an idea, to a nearly 100% QuickBASIC language, and then beyond to a GL and cross platform language. Of course, QB64 is a c++ translator, rather than a language that converts existing code to machine language, but still, quite an accomplishment for a single individual.... who was married, employed, and had a kid on the way. Anyway. long story longer.... yeah, no comments. Rob and I had that in common. I had worked on several office programs in QuickBASIC, which I consolidated into a single 80,000+ QB64 program. Because of how fast I needed them done and the amount of work it was for a single person, I didn't comment anything, either. I actually used all caps, didn't indent, and used single letter variables, too. Well, that was to save memory in QuickBASIC but I did not change them when I converted over to 64. Anyway, if anyone had to read my code, they would chop off a foot and hop off a cliff before they were 10,000 line into it. So yes, I feel your pain when trying to digest this MySQL stuff, as presented.
I wish I was in a position to help, but I never needed MySQL. I just set up my own database structure and I never needed it online. I believe the reason why you haven't had more help is because most the other programmers I know who frequent these boards don't have any MySQL projects, either. At best maybe I just Murphy'd Law'd that and someone else will now come forward.
Best of luck with what you have managed to figure out so far. If you come up with a working model, I wouldn't blame you if you took it and ran but if you're inclined to post it here for others, will see if Bill will also place it in the "Library" so others can find their way through such a project in the future.
Pete