VS Connect MySQL Error resolution
First configure the following steps:
**-(1) Open the Options option under the Tools menu of the VC6.0 toolbar. Select "Includefiles" in the "Show Directories for:" Drop-down list on the right side of the Directories tab and add the Include folder path to your local MySQL installation in the intermediate list box. (Mine is D:\Program files\mysql\mysql Server 5.0\include).
VS2010 settings in: Project-Properties-Configuration Properties-vc++ folder-Include folder
(2) in the "Show Directories for:" Drop-down list above, select "Library files" and then join the Lib folder path where you installed MySQL locally. The Lib folder also has debug and opt two folders, it is recommended to choose Debug.
(Mine is D:\Program files\mysql\mysql Server 5.0\lib\debug).
The settings in the vs2010. In: Project-Properties-Configuration Properties-vc++ folder-Library folder
Or: Project-Properties-configuration Properties-connectors-General-Additional library folders
(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 are the key
Project, properties, Configuration Manager
Active solution platform, dropdown new, a new check box appears, select X64 in the type select New platform.
It should be able to conquer.
How to use Markdown.
。。。
VS Connect MySQL Error resolution