title: c++ and mysql connector via Eclipse
body: <p>I want to connect to a MySQL database from a c++ program.  I've installed the mysql server and configured it. I've also installed a mysql c++ connector. </p>
  
  <p>Everything is ok but I do not know how to include the libraries to the project so I can compile it. I use Eclipse Indigo with the C\C++ perspective.</p>
  
  <p>The code for testing is it work I've got it from this site : 
  <a href="http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-2.html" rel="nofollow">Connector example</a></p>