This project was developed and will continue to be added to in order to simplify and improve the quick development of MySQL programs which should include features that can be considered useful utilities for MySQL.
List of Tables in the IP2Location Database
Run the mkcql utility to generate code based on the Tables
List of files created by the utility
The contents of one of the files that was generated
Project Admins:
This project was developed and tested under most UNIX based implementations, at one point it was converted over to make use of the Anjuta development package which I highly recommend using however I have and continue to copy the source into whatever OS I need to write my project on and compile there with the standard compiler options and I have yet to run into any major issues preventing the use of this utility.
Please let me know if you need further instructions on how to use this program, as I haven't had much time to develop the documentation yet.
1) Download the mksqlcpp.tar.gz file into your favorite source directory, let's say /usr/local/src.
2) Type tar zxvf mksqlcpp.tar.gz
3) cd mksqlcpp
4) ./configure
5) make
6) make install
7) Now you need to make a temp directory just to see the results quick and easy is to use mkdir t
8) The default username/password for this program is to use root/d1ngd0ng but you should probably change that to something more appropriate to your system.
9) type mksqlcpp -H{mysqlhostname} -dt -D{database}
10) Now you can cd t
11) Review the code that was generated, modify it to however you like.
12) Remember that the main.cc file from this project can be used as a template for your own program when using the generated code.
13) Actual projects will be uploaded to this site in order to allow you to see how it is used for real applications as I get permission to make it available.