Geeks With Blogs

News
Anirudha gupta

UPDATED 6 JANUARY 2014

If you are installing .net connector in your PC then it’s registered the assembly in machine.config. Now if you want to run a single asp.net website you need to have Mysql.Data dll in your project no matter you use Mysql or any other kind of database connectivity.

After time by time you make new project, new version of mysql connector come (.net connector is opn-source and active in development). Soon you come back to make a modification on project that you made earlier now you need to upgrade the project. Nowadays if you are using Nuget package then nuget will take care of your mysql connector automatically.

When you install .net connector and add the reference then most of time it’s not matched with the version that is available on server. You can deploy the bin to solve this issue. I have written a post earlier to make fix the mysql issue MySql.Data.MySqlClient version mismatched

 

Here is the exception and most annoying problem that mysql connector make for developer.

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

Related Post

Nuget is not installed or out of date

Posted on Monday, November 4, 2013 2:07 PM | Back to top


Comments on this post: Why I don’t recommanded Mysql.net connector anymore ?

# re: Why I don’t recommanded Mysql.net connector anymore ?
Requesting Gravatar...
Hi,

I work on the connector/net development team. Could you please help us identify this bug that you're having by fill in the forums (forums.mysql.com/list.php?38) or a bug report (bugs.mysql.com). We work on making Connector/net a better product and your feedback would be very helpful for us.
Left by Gabriela Martinez on Jan 29, 2014 9:06 AM

# re: Why I don’t recommanded Mysql.net connector anymore ?
Requesting Gravatar...
Hello Gabriela,

I have sent you a message back.I hope you got it in your inbox.

Left by Anirudha on Jan 30, 2014 7:57 PM

Your comment:
 (will show your gravatar)


Copyright © Anirudha | Powered by: GeeksWithBlogs.net