MySQL Data Connection for VS 2022 / MySQL for Visual Studio Setup Wizard ended prematurely
Posted by: Sean M
Date: July 27, 2023 10:15AM

After quite some time I am coming back to update our database. I'm trying to get MySQL Database to show up in the Visual Studio Add Data Connections dropdown. This has never been very easy but after spending all day on it I fear I cannot continue.

Googling issues with MySQL not being in the Data Connections dropdown shows a lot of answers, I've tried a lot of them but am not even sure which versions of MySQL Server, MySQL .NET Connector, and MySQL for Visual Studio are supposed to be used together for Visual Studio 2022. I have MySql.Data and MySql.Data.EntityFramework nuget packages installed in my project.

Taking inspiration from this answer, on my latest attempt, I:

Remove all MySQL programs with Revo Uninstaller

Run MySQL Community Installer 8.0.34 from

-Install MySQL Server 8.0.34-X64

Install MySQL Connector/NET from

Install MySQL for Visual Studio 1.2.10 from

But still no MySQL Database in Add Data Connections. I fear the MySQL for Visual Studio plugin may be the cause of this, as anything later than 1.2.10 (2.0.2. m1 - 2.0.5 m4) fails with "MySQL for Visual Studio Setup Wizard ended prematurely".

Any help would be appreciated, and what could be really helpful from anyone who has this working is what versions of these do you have?

Options: ReplyQuote

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.