VS Connect MySQL Error resolution

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.