Don’t use MySQL .net connector, here is why ?

Posted by Anirudha on Geeks with Blogs See other posts from Geeks with Blogs or by Anirudha
Published on Mon, 04 Nov 2013 03:07:54 GMT Indexed on 2013/11/04 9:56 UTC
Read the original article Hit count: 489

Filed under:

Originally posted on: http://geekswithblogs.net/anirugu/archive/2013/11/04/donrsquot-use-mysql-.net-connector-here-is-why.aspx

If you use .net mysql connector and all project new or old use different different version of Mysql .net connector then you need to upgrade it to latest (if you don’t use copy local=true for bin assembly). This is not the single problem happen to me.

 

In my case I use .net connector 6.7.4.0 and let’s see what happen to me after I start using it. 6.7.4.0 install register the mysql module in machine.config and it’s broke every software you haven’t deployed with Mysql.

 

Suppose for example I just create a website ( in webmatrix 3) put my index.cshtml and now see what it preview for me.

Capture

This means I need to add the mysql.Web even I don’t use any kind of database. I need to do every asp.net mvc project no matter they use mysql. it’s problematic when we use older .net  mysql connector in some of my project.

 

If you have trouble like this simply use nuget and say Bye bye to this trouble.

Smile

© Geeks with Blogs or respective owner