When using the MySQL installer, it says "Visual Studio version 2015, 2017 or 2019 must be installed".

I have installed Visual Studio 2019 and "MySQL for Visual Studio", but it still says, "the requirement is still failing".

I should point out that I installed the 32-bit version of MySQL for Visual Studio, because I couldn't find a 64-bit version. Is this relevant?

What would cause this and how do I fix it?

MySQL error message

Error message when you click on "check" after installing VisualStudio

  • maybe it is like the python extension, mysql doesn't like that i use 64 bit, but i am only guessing i also couldn't install it
    – nbk
    Oct 25, 2020 at 22:13

1 Answer 1


I had this issue, and it turned out to be because I didn't have the .NET workload installed in Visual Studio. You need to either select it on installation, or re-run the installer, select 'modify', and then check it in the list of options.

I left the default set of sub-options ticked (right hand side of screenshot) - I would guess that everything but the first two are probably unnecessary but I haven't checked.

modifying workloads screen

  • Thanks for this info. It's really ok with the first two .NET, size 3.91Go screenshot
    – jean-denis
    Aug 2, 2022 at 14:06
  • This worked for me thanks. Windows 11, MySQL 8.0.31
    – dave29
    Dec 6, 2022 at 20:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.