Mono Develop (Linux) – Install .net MySql Connector

MonoDevelopLogoHere is how to install a .net MySql connector for Mono Develop for Linux (Tested for Debian Variants).
First we is going to download the connector, and you will find it here:
http://dev.mysql.com/downloads/connector/net/
Just remember to download the right version 😉

After we downloaded it, put it in a folder i.ex: ~/netConnector/
Rename it to Mysql.Data.dll (It is case sensitive)
It has been an issue for years, but when you download the connector it is all lower case. And if you don’t rename the file, it won’t work.

Next  we is going to do is to install it into to the GAC (Global Assembly Cache). This is needed for the Mono Develop to be able to use it. In general we put our .net dll’s here.
gacutil /i Mysql.Data.dll
You should be able to find the connector here: /usr/lib/mono/gac/

That’s it really. And it is ready to be used in your Mono Develop projects.

Happy programming!

About Author

Related Posts

php8 gd

PHP8 gd Activate after installation

PHP8 GD activate after installation. GD doesn’t get activated by default. Not even a reboot after installation will activate it. So how do we do it? In…

Debian 12: linux-image-6.1.0-10amd64

Troubleshooting dependency issues in Debian 12: Resolving linux-image-6.1.0-10amd64 package dependency problems. If you installed the Debian 12 from the live image the issue is the raspi-firmware. Even…

mysql double vs float

MySQL: Double vs Float

When it comes to mysql double vs float to storing numbers with decimal places in a database, two of the most commonly used data types in MySQL…

C# Reference Types

Understanding C# Reference Types

One of the key features of C# is its support for C# reference types, which allow developers to create complex, object-oriented applications. In this blog post, we…

c# value types

Understanding C# Value Types

C# is a powerful programming language that is widely used for developing a wide range of applications. One of the key features of C# is its support…

C# check if server is online

C# check if server is online directly from your code. Check servers or services like web servers, database servers like MySQL and MongoDB. You can probably check…

This Post Has One Comment

Leave a Reply