I normally don't like to give out some of the code I use for my projects, but I guess i can this time.
This was a little Command Line log in server I was experimenting with for a game I wanted to make (or at least the original concept of the game).
Anyways, the .zip download (attached to this post) should include everything you need, the SQL dump of the database, the "libMySQL.dll", the source file, and an EXE file to test it. All you need to do for it is supply a user (in the project, the user is "root", I'm only doing this because I use it with WAMP).
Any questions?
http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!