Hi, if you are using dev-c++ i recommend you use
libmysql devpak. Because you know, if you use devpaks it is zero configuration for you in most cases. And there are many other libraries too.. in my opinion a great convenience feature. Only that
libmysql is a C library and maybe you wanted C++. Anyways in most cases it doesn't make dramatic difference as you can use C libraries in your C++ programs. And if you like you can make wrapper classes to encapsulate the C function calls to make it more object oriented.
In the other hand if you use the mySQL++ you should make sure that the library object (.dll or .a or (.lib and .def)) is in your /lib/ directory and that the headers are in /include/ directory. In addition you must instruct the linker to load the necessary libraries. That can be done in the IDE project settings. AND when I googled for mySQL++ I noticed the following:
- mySQL++ is a wrapper for mySQL C library. Means that you have to have the C library first.
- mySQL++ is distributed as source code and linux binaries. Since dev-c++ operates in MS windows you must compile and create the library from source code. And since it was dependent on the C library you must compile the C library first.
Seems like you have to take several steps before you have anything working. But since I have not experimented with aforementioned libraries it is just my academic guess about the subject. Who knows maybe someone is distributing precompiled version in internet and that is what you have in your pc. However if that is not the case then I recommend using libmysql.