VS Connect MySQL Error resolution
First configure the following steps:
**-(1) Open the Options option under the Tools menu on the VC6.0 toolbar and select "Includefiles" in the "Show Directories for:" Drop-down list on the right side of the Directories tab. Then add the Include directory path to your local MySQL installation in the middle list box. (Mine is D:\Program files\mysql\mysql Server 5.0\include).
Settings in VS2010, in: Project-Properties-Configuration Properties-vc++ directory-Include directory
(2) in the "Show Directories for:" Drop-down list above, select "Library Files" and then add the Lib directory path where you installed MySQL locally. The Lib directory also has debug and opt two directories, it is recommended to choose Debug. (Mine is D:\Program files\mysql\mysql Server 5.0\lib\debug).
Settings in VS2010, in: Project-Properties-Configuration Properties-vc++ Directory-Library Directory
Or: Project-Properties-configuration Properties-connectors-General-Additional Library directories
(3) Add "Libmysql.lib" to "Project settings->link:object/library modules".
Settings in VS2010, in: Project-Properties-Configuration Properties-connector-Input-Additional dependencies * *
A lot of people are configured and will go wrong, here is the key
Project, properties, Configuration Manager
Active solution platform, dropdown new, a new check box appears, select X64 in the type select New platform.
So it should be solved.
Markdown how to use ....
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
VS Connect MySQL Error resolution