🌐
MySQL
dev.mysql.com › downloads › connector › net
MySQL :: Download Connector/NET
Connector/NET is a fully-managed ADO.NET driver for MySQL.
Documentation
Connector/NET · Developer Guide · API Reference · Connector/Python · PHP · C API · C API 9.7 · C API 8.4 · C API 8.0 · C API 5.7 · Connector/C++ X DevAPI API for MySQL Shell and Connectors supporting the X Protocol · X DevAPI User Guide · X DevAPI User Guide for MySQL Shell in ...
MySQL
31.3 MySQL Connector/NET · 31.4 MySQL Connector/ODBC · 31.5 MySQL Connector/Python · 31.6 MySQL Connector/Node.js · 31.7 MySQL C API · 31.8 MySQL PHP API · 31.9 MySQL Perl API · 31.10 MySQL Python API · 31.11 MySQL Ruby APIs · 31.11.1 The MySQL/Ruby API ·
APT Repository
MySQL Connector/C++ MySQL Connector/J · MySQL Connector/ODBC · MySQL Connector/Python · Online Documentation: Installing MySQL on Linux Using the MySQL APT Repository · Please report any bugs or inconsistencies you observe to our Bugs Database.
Download MySQL Workbench
Microsoft .NET Framework 4.5 · Visual C++ Redistributable for Visual Studio 2019 ·
🌐
GitHub
github.com › mysql › mysql-connector-net
GitHub - mysql/mysql-connector-net: Connector/NET is a fully-managed ADO.NET driver for MySQL. · GitHub
Connector/NET is a fully-managed ADO.NET driver for MySQL. - mysql/mysql-connector-net
Starred by 333 users
Forked by 212 users
Languages   C#
Discussions

Issue with MySQL Connector/NET
After your question has been solved u/Exorkog , please reply to the helpful user's comment with the phrase "Solution verified". This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved". I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/PowerBI
19
1
January 27, 2025
sql server - MySQL Connector net Why we need it? - Stack Overflow
Hey can some1 explain me why we need to download MySQL connector net? im creating a website on visual studio 2010 and linking it with phpMyAdmin database.....but what does MySQL connector actually ... More on stackoverflow.com
🌐 stackoverflow.com
asp.net - .net mySQL Connector for a 64 bit machine - Stack Overflow
It appears that your problem is due to a corrupt install of MySQL connector for .Net as described on MySQL website. More on stackoverflow.com
🌐 stackoverflow.com
MySQL Connector NET 8.1.0 - Oracle Forums
I had no issues with the NET connector 8.0.33 in SQL Server Integration Services (SSIS)….but now with 8.1.0 I can't access it. So…I took 8.1.0 off and put 8.0.33 back on…and….I still can't u... More on forums.oracle.com
🌐 forums.oracle.com
August 29, 2023
🌐
MySQL
dev.mysql.com › doc › connector-net › en
MySQL :: MySQL Connector/NET Developer Guide
This manual describes how to install and configure MySQL Connector/NET, the connector that enables .NET applications to communicate with MySQL servers, and how to use it to develop database applications.
🌐
MySQL
downloads.mysql.com › archives › c-net
MySQL :: Download MySQL Connector/NET (Archived Versions)
Please note that these are old versions. New releases will have recent bug fixes and features! To download the latest release of MySQL Connector/NET, please visit MySQL Downloads.
🌐
MySQL
mysql.com › products › connector
MySQL :: MySQL Connectors
MySQL provides standards-based drivers for JDBC, ODBC, and .Net enabling developers to build database applications in their language of choice.
🌐
Mysqlconnector
mysqlconnector.net
High-Performance .NET MySQL Driver - MySqlConnector
MySqlConnector is a high-performance, asynchronous C# ADO.NET driver for MySQL Server, MariaDB, Amazon Aurora, Azure Database for MySQL, Google Cloud SQL for MySQL, Percona Server and more.
🌐
Microsoft Learn
learn.microsoft.com › en-us › connectors › mysql
MySQL - Connectors | Microsoft Learn
MySQL is an open-source relational database management system. Connect to on-premise MySQL database to read and write data. This connector is available in the following products and regions: ... Connector/NET 6.6.5 or later.
Find elsewhere
🌐
Reddit
reddit.com › r/powerbi › issue with mysql connector/net
r/PowerBI on Reddit: Issue with MySQL Connector/NET
January 27, 2025 -

Hi,

In order to pull data from a MySQL database, I installed MySQL Connector/net.

But when accessing "Get data from other source" menu and selecting "MySQL database", I get this error :

"This connector requires one or more additional components to be installed before it can be used".

MySQL Connector/net is indeed installed from https://dev.mysql.com/downloads/connector/net/

The page https://learn.microsoft.com/en-us/power-query/connectors/mysql-database gives command to check whether the MySQL Connector/net package is correctly installed. The command is

[System.Data.Common.DbProviderFactories]::GetFactoryClasses()|ogv

But this command gives error :

"Exception when calling "GetFactoryClasses" with arguments "0": "An error occurred while creating the configuration section handler for system.data: The column 'InvariantName' is restricted to be unique. The value 'is already present Mysql.Data.MySqlClient'. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 157)"
En línea: 1 Carácter: 1
+ [System.Data.Common.DbProviderFactories]::GetFactoryClasses()|ogv
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ConfigurationErrorsException"

MySQL connector/NET is version 9.1.0. It's the same with version 9.2.0.

PowerBI is in version 2.130.930.0. Same error with the latest version 2.139.1678.0.

Is there any specific setting for this ?

Thanks

🌐
NuGet
nuget.org › packages › mysqlconnector
NuGet Gallery | MySqlConnector 2.6.1
MySqlConnector is a C# ADO.NET driver for MySQL, MariaDB, Amazon Aurora, Azure Database for MySQL and other MySQL-compatible databases.
🌐
Software Informer
mysql-connector-net.software.informer.com › windows › developer tools › database tools › mysql connector net
MySQL Connector Net Download - Develop .NET applications with MySQL
May 31, 2026 - MySQL Connector Net (MySQLAdministrator.exe). MySQL Connector/NET enables you to develop .NET applications that require data connectivity with MySQL.
Rating: 3.7 ​ - ​ 35 votes
🌐
GitHub
github.com › mysql-net › mysqlconnector
GitHub - mysql-net/MySqlConnector: MySQL Connector for .NET · GitHub
MySQL Connector for .NET. Contribute to mysql-net/MySqlConnector development by creating an account on GitHub.
Author   mysql-net
🌐
Software Informer
mysql-connector-net.software.informer.com › windows › developer tools › database tools › mysql connector net
MySQL Connector Net 8.0 Download (Free) - MySQLAdministrator.exe
May 31, 2026 - MySQL Connector/NET enables you to develop .NET applications that require data connectivity with MySQL. It implements the required ADO.NET interfaces and integrates into ADO.NET-aware tools.
Rating: 3.7 ​ - ​ 35 votes
Top answer
1 of 2
2

It appears that your problem is due to a corrupt install of MySQL connector for .Net as described on MySQL website. http://bugs.mysql.com/bug.php?id=23071

Their recommendation is to manually add the missing MySQL Data Provider entries in the Machine.config under DbProviderFactories section.

You could always try and un-install and re-install if you haven't tried that already.

2 of 2
1

OK, I'm going to answer this question and then close it as although I couldn't get the real fancy Microsoft way of adding a datasource I did it the old fashioned way. Not the super nice way but this was just me learning, so after you see this example please know that I'm a long way off still.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using MySql.Data.MySqlClient;


namespace MyFitnessApp
{
    public partial class _Default : System.Web.UI.Page
    {
        private void Page_Load(object sender, System.EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                MySqlConnection mss = new MySqlConnection("server=IP Address;Port=####;Database=db_name;Uid=userId;Pwd=password;");

                string strSQL = "";
                strSQL = "SELECT * FROM TABLE;";

                MySqlDataAdapter mda = new MySqlDataAdapter(strSQL,mss);
                DataSet myDS = new DataSet();
                mda.Fill(myDS,"TABLE");

                this.GridView1.DataSource = myDS;
                this.GridView1.DataBind();
            }
        } 
    }
}

I'd like to figure out how to call the connectionstring from the web.config but this is what I found in several examples.

What is ironic is that I'm much more comfortable in VB.Net and I'm learning C#. The example I found was written in VB.Net and I converted it to C#. (:

🌐
Microsoft Fabric Community
community.fabric.microsoft.com › t5 › Desktop › MySQL-Connector-Not-Working › td-p › 2484316
Solved: MySQL Connector Not Working - Microsoft Fabric Community
February 19, 2025 - 1) Remove everything related to power bi and mysql/connector using control panel · 2) Go to registry editor-Software-WOW6432Node and remove MySQL, MYSQL AB 3) Go to registry editor-Software remove ODBC 4) Go to registry editor-Software remove MySQL AB 5) Locate MySQL folder and remove all its contents (if exist) 6) Remove cache data from %LocalAppData%\Microsoft\Power BI Desktop 7) now restart computer. Install 8.016 server and ODBC and NET connector for your arcchitecture 😎 restart computer.
🌐
Oracle
forums.oracle.com › ords › apexds › post › mysql-connector-net-8-1-0-6294
MySQL Connector NET 8.1.0 - Oracle Forums
August 29, 2023 - I had no issues with the NET connector 8.0.33 in SQL Server Integration Services (SSIS)….but now with 8.1.0 I can't access it. So…I took 8.1.0 off and put 8.0.33 back on…and….I still can't u...
🌐
Oracle
docs.oracle.com › cd › E17952_01 › connector-net-en
MySQL Connector/NET Developer Guide
May 5, 2026 - This manual describes how to install and configure MySQL Connector/NET, the connector that enables .NET applications to communicate with MySQL servers, and how to use it to develop database applications.
🌐
MySQL
dev.mysql.com › doc › relnotes › connector-net › en
MySQL :: MySQL Connector/NET Release Notes
This document contains release notes for the changes in recent releases of MySQL Connector/NET.
🌐
Softpedia
softpedia.com › windows › internet › servers › database utils › mysql connector/net
MySQL Connector/NET - Download - Softpedia
April 22, 2026 - Written completely in C#, it works independently of the MySQL client library, and it allows developers to add database connectivity to their .NET applications regardless of the .NET language they are using: .NET, .NET Core or .NET Framework. The source code and test files are readily available as well on GitHub and NuGet Gallery. Integrating with Visual Studio and providing support for the X protocol, MySQL Connector/NET facilitates working with MySQL as a preferred database environment of choice.