The demo executable will not work without being added to the allowed hosts list or in the case you block the application by firewall!This demo for Lite-C shows how to remotely connect to a MySQL server, but you can change that to run on a localhost as well. Furthermore the demo shows a login procedure and presents a text for that user if the login was accepted. Tested with MySQL server 4.1/5.1 without trouble. You should write your own database file because the one that came with the demo isn't optimized it just works.
Note: The A7LitecMySQL demonstration uses my own MySQL database server. If you like to try the executable in the directory Published. You will need to surf to
www.whatismyip.com and PM me your ip address so I can add you to the allowed hosts list. If you don't like to give your ip. Just take a look at the code that came with the demo and change to reflect your personal settings, then compile your own executable.
Need help? Just ask

Download
A7LitecMySQL demo.