Hi, @noel brice makebel I tried to reproduce this but realized I could not since the MySQL plugin is not supported in VS 2022 version. Note that Visual Studio MySQL plugin is not being maintained anymore https://downloads.mysql.com/archives/visualstudio/.
I recommend using alternate tools like Azure data studio, or community MySQL tools due to end of life in 2022 for this plugin in VS 2019. you can also use VS code, there is mysql extension available in VS Code to connect and manage the database within VS Code like querying, editing in line, etc.
Regards
Geetha