Bug #60768 MySQL C++ Connector v1.1.0 32-bit MSI installer is missing sqlstring.h
Submitted: 6 Apr 2011 3:33 Modified: 23 Apr 2013 12:40
Reporter: Kenni Lund Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / C++ Severity:S2 (Serious)
Version: OS:Windows (XP 32-bit)
Assigned to: CPU Architecture:Any
Tags: C++ Connector MSI package

[6 Apr 2011 3:33] Kenni Lund
Description:
The package "mysql-connector-c++-1.1.0-win32.msi", is missing \include\cppconn\sqlstring.h, which is required by \include\cppconn\warning.h.

The file is included in the other packages, for example "mysql-connector-c++-noinstall-1.1.0-win32.zip" or "mysql-connector-c++-noinstall-1.1.0-win32-vs2005.zip".

The C++ Connector can't work without this file, as discovered by several users[1] in the past 6 months.

[1] http://forums.mysql.com/read.php?167,387820,387820#msg-387820

How to repeat:
Add:

#include "mysql_connection.h"

..to your application and watch your compile fail:
warning.h(32) : fatal error C1083: Cannot open include file: 'sqlstring.h': No such file or directory

Copy the file from one of the other packages and the problem is solved.

Suggested fix:
Include the file in the package :)
[6 Apr 2011 7:27] Valeriy Kravchuk
Thank you for the bug report.
[22 Oct 2012 12:45] C Scruby
Also the libmysql.dll is missing from the 64 bit MSI installer - is there a 64 bit version of libmysq.dll and if it exists where can it be found?

porting 32 bit mysql C++ connector dlls to 64 bit targets seems to be very hit and miss business from my perspective.
[23 Apr 2013 12:40] Lawrenty Novitsky
The patch for this bug has been pushed as rev#950