MySQL connector c++ does not contain libmysql.lib

前端 未结 1 1108
暗喜
暗喜 2021-01-14 19:39

So since Saturday I am trying to setup MySQL Connector C++ with VS2012. I\'ll leave it without commentary that I had to download 1xx mb Boost libs just to run simple query f

相关标签:
1条回答
  • 2021-01-14 19:47

    Download mysql server from http://dev.mysql.com/downloads/mysql/. It contains libmysql.lib. After you link your project with libmysql.lib you will get error "Missing libmysql.dll" or something like that, and then you'll have to copy libmysql.dll to release folder

    And I'm not sure how this will work with you but I had to download 32bit version of server.

    P.S. I know about 2 weeks passed from your question but it's never too late, it might help someone.

    0 讨论(0)
提交回复
热议问题