The type or namespace name 'mysql' could not be found. Net error when connecting to MySQL

Source: Internet
Author: User
The type or namespace name 'mysql' could not be found.
------------- If the IDE is vs.net then you copy the DLL into C: \ WINDOWS \ Microsoft. net \ framework \ v1.1.4322 or the newest version of. net Framework you have in the framework folder, cocould be v1.0.3705, just depends what version you have in there. copy the DLL in there and add the reference in the. net ide by going to project, add reference, then select File
-------------
This error occurs during build solution because I only put this DLL under bin and added the DLL to add reference. However, this is not enough. I should put this DLL in C: \ windows \ Microsoft. net \ framework \ v2.0.50727
Under this folder!
In this way, MySQL. Data is displayed under the. NET tab when you add reference.
------------- In sharpdevelop (the ide I know) You need to reference the MySQL GAC entry (right click on reference in the project Tree View, click Add, then find the MySQL DLL in the GAC ).
-------------
This dll is downloaded from the Internet, with a size of kb.

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.