How to use c++ and OTL to access MySQL database。 rewriting the example of  chapter 8《begining linux programming》。