Download mysql connector for visual studio 2010

broken image
broken image
broken image

Then, It asked for libmyql.lib, I had the lib directory of MySQL Server 5.5\lib.Įrror 127 error LNK1120: 31 unresolved externals C:\Users\Haks\Documents\Visual Studio 2010\Projects\ProductManager\Debug\ProductManager.exe ProductManagerĮrror 60 error LNK2001: unresolved external symbol '_declspec(dllimport) bool _cdecl std::operator,class std::allocator >(class std::basic_string,class std::allocator > const &,class std::basic_string,class std::allocator > const &)' C:\Users\Haks\Documents\Visual Studio 2010\Projects\ProductManager\ProductManager\mysqlcppconn-static.lib(mysql_ps_resultset.obj) ProductManager It asked for a 'sqlstring.h' file ( How a release can miss a file ?! ), so I had it from the source files ( mysql source archives).

broken image

I followed the steps ( here, mysql docs) to add it to Visual Studio (I also added Boost in the 'Additional include Directories'). I'm trying to add MySQL Connector/C++ to my visual Studio 2010 project.

broken image