Visual Studio with mySQL - mysql

I am relatively new to programming and have been wanting to delve into the back-end development. I have started to try and learn mySQL. The main issue I am running into is the fact that mySQL doesn't seem to be updated for VS 2020? I am using the newest version and during the mySQL install it says it requires 2015/17 or 19 to be installed. The issue I have is I cannot find a 2019 version of vs on their website. The download link just automatically downloads the newest version. Does anyone have any suggestions on what I can do? I am completely lost at this point. Any help is appreciated!

Related

Version compatibility issue in SQL Server and SSIS Packages

Currently in my machine visual studio community version 2017 version 15.9.3 has been installed and in server Microsoft SQL Server 2016 (SP1-CU3) has installed.
The issue is once I build the solution with available version and deploy it to server it gives following errors
even if i rebuild the ssis packages using old VS version and deploy it in server, still shows same error,
seems SSIDB keep tracking some meta data related to latest version deployment ispac.
still trying to figure it out the cause for this.
Initially what I want to do is using older version of VS ,need to deploy the ispac SSIS packages.
Thanks.
I encountered similar issue while upgrading from 2008/2012 to 2017. Somehow VS is not able to upgrade .NET version, even if you do so manually, it keeps coming back to the previous one. Your problem might be related to yet another issue though, but the last message in that validation outcome you pasted actually says about invalid script version and a failure while upgrading it automatically. If you only have a few of those scripts that are causing the problem, I would copy and paste the script to a brand new script component. If you have more, what helped us was this answer.
This is a common issue. If you build SSIS packages in VS(SSDT) 2017 and they have script components/tasks, they will not work on SQL Server 2016. Even though you set 2016 as the Target Version.
The only solution I know is to build your SSIS packages in VS(SSDT) 2015.

VS2017 15.8.0 - no longer able to downgrade SQL version on SSIS package

I updated to 15.8.0 yesterday. Today, when trying to change my SQL version to anything other than SQL 2017 the process crashes. I first tried rebuilding and that failed. I am currently removing 15.8.0 and reinstalling 15.7.6
I was unable to find anyone mentioning the issue and wanted to ask if anyone knew of a better way to fix it other than install an older Visual Studio version
I had problem populating data from database using LINQ in the visual studio 15.8.0 environment.
15.7.3 works well.
https://social.msdn.microsoft.com/Forums/en-US/2c063b57-8571-41e7-8a95-3ce4a105a5e3/unable-to-deploy-ssis-after-vs-2017-update-1580?forum=sqlintegrationservices
https://developercommunity.visualstudio.com/content/problem/311891/error-deploying-ssis-package.html
looks like there was an issue with 15.8.0

MySQL Workbench is not opening

My OS is windows 7 ultimate 64 bits. I have downloaded the MySQL workbench ZIP from here.
Dearchivating, launching MySQLWorkbench.exe and..nothing happens.
It is loading for a few seconds and then nothing.
Please help !
Use the Microsoft Installer(.msi) instead of the .zip file. That should clear up your issue. I believe Windows 7 and up requires the installer to avoid issues for certain software suites.
There is a nice MySQL installer that does all the checks for you, points you to the download location if something is missing and eases setup on Win to a really simple task. I strongly recommend that you make use of that great (and free) tool.
After few investigation I have resolved this by installing Microsoft Visual C++ Redistributable Packages. Then the workbench starts successfuly.

MySQL Workbench not opening on Windows

I have downloaded the no-install portable version of Workbench. When I run the exe file (on Windows XP), nothing happens. Does it need some MySQL running? I think it's standalone, right? I have XAMPP for MySQL. Any dependency etc?
You need to install the following in order to run the current version of MySQL Workbench:
Microsoft .NET Framework 4.5.2
Microsoft Visual C++ 2019 Redistributable for Visual Studio 2019
See: dev.mysql.com/doc/workbench/en/wb-requirements-software.html
.
Update 2020:
Unfortunately this is still happening:
Download .NET 4.0 (My machine already had it.)
Download Visual C++
As the above solution states. Download the Mysql workbench
installer.
I still don't know why, it would allow me to install without checking for dependencies. I have become accustomed to this kind of behavior when I am installing any application and to not see it is annoying. I suppose I should leave this personal opinions out of my solution but I have had to install this multiple times and have comes across some kind of dependency issue.
What works for me (workbench 64bit) is that I installed Visual Studio 2015, 2017 and 2019
here is url:
https://support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c-downloads
I installed both x86: vc_redist.x86.exe and x64: vc_redist.x64.exe
In my case, i tried all solutions but nothing worked.
My SO is windows 7 x64, with all the Redistributable Packages (x86,x64 / 2010,2013,2015)
The problem was that i tried to install the x64 workbench, but for some reason did not work (even my SO is x64).
so, the solution was download the x86 installer from : https://downloads.mysql.com/archives/workbench/
There are two prerequisite requirements need to install MySql Workbench as follows.
.Net Framework 4.0
Microsoft Visual C++ 2010
When .Net Framework 4.0 does not exist your computer installation will be corrupted. But if Microsoft Visual C++ 2010 does not exist your computer then you will continue the installation but cannot open MySql Workbench program. Sometimes you will need Microsoft Visual C++ 2013 instead of Microsoft Visual C++ 2010. So I recommend to install Microsoft Visual C++ 2013.
Microsoft Visual C++ 2013
In Windows 10 I browsed to %APPDATA%\MySQL\Workbench\ then deleted the workbench_user_data.dat file
Doing so lost my MySqlWorkbence settings but allowed MySqlWorkbence to open.
As per the current setup on June, 2017
Here is the downloadable link for Visual C++ 2015 Redistributable package : https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe
Hope this will help, who are struggling with the download link.
Note: This is with regards to MySQL Workbench 6.3.9
I have uninstalled 8.0.19 (64) and installed 8.0.18 (64 bit) and now it Opens.
it might be due to running of xampp or wampp server stop all services running and try to open mysql command line
I found I needed more than just the Visual C++ Redistributable 2015.
I also needed what's at this page. It's confusing because the titles make it ambiguous as to whether you're downloading the (very heavy) Visual Studio or just Visual C++. In this case it only upgrades Visual C++, and MySQL Workbench launched after this install.
You should have these two already installed in your system:
Microsoft Visual C++ 2015-2019 Redistributable
Microsoft .NET Framework 4.5.2
I did these two installations for MySQL Workbench 8.0 CE.
None of these suggestions worked for, however setting compatibility to Vista worked and now the workbench opens again.
2022 case:
My MySQL Workbench was working normally and from one moment it just didn't want to open anymore. I've lost almost half a day trying to fix it.
In folder %APPDATA%\MySQL\ I had to delete the whole folder Workbench,
instead of deleting just workbench_user_data.dat file (which didn't help)
Given that there's so little on this on the web, I'll provide my answer despite this thread being over two years old: it's probably a no-brainer but run Workbench as Administrator (doh!)

What are the REAL steps for installing SQL Server Express 2008 and Management Studio Express?

On a clean windows machine I installed Web Dev Express 2008. That also installs SQL Server Express 2008. I just wanted to add SQL Server Management Studio Express (SSMSE) 2008. I had problems, and I'm not the only one:
http://msdn.microsoft.com/en-us/library/ms365247.aspx
The msdn page has a lot of suggestions and a lot of people who say the suggestions don't work, but as Jeff and Joel would say, the forum format doesn't work well at pointing at the definitive answer, so I am hoping the StackOverflow wiki/voting format will be better at having the real solution bubble up to the top.
BTW, what I ended up doing was uninstalling all the 2008 stuff that Web Dev installed, and then I downloaded the 2005 file and that went easy. Possibly, after uninstalling what Web Dev installed I could have been successful with the 2008 stuff too, but i didn't try.
This was all on Windows 7 pro, but the way, but I had a similar traumatic experience on XP.
EDIT1 - Somebody DOWN voted this? But... why? This is a real programming issue that many of struggled with and there is no canonical answer. This is THE place for community vetted/voted canonical answers!
Some quotes from comments at the MSDN download page:
"Thoroghly confusing and no clear Final Answers? Someone needs to summarize the results of the previous postings on this page and put an authoritative stamp on some of the findings and declarations"
"Like everyone else posting here, I have gone through this entire cycle and it is hugely frustrating".
"you have taken something that was working well and had NO need to be this complex and managed to completely confuse everyone that is using it and make it a general PITA"
There are multiple SQL Server Express downloads.
This one is just the Management Studio Express and is what I've always installed when I needed access to a database.
Download the Management Studio tool only and install that.
You can find a download here
https://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displayLang=en