I have run into this Problem trying to install the MySQL Connector/ODBC 5.3 64-bit Version; the 32-bit install runs fine.
I tried on Windows Server 2012 R2.
On my Windows 7 machine bothworked flawlessly.
I have found a lot of Posts suggesting - None of the tips worked:
to install the 64-bit Version BEFORE the 32-bit Version
to install the Microsoft Visual Studio redistributable package, both 64-bit and 32-bit (which I have installed for several years...). I even have the same Versions installed on the Server and on my Client.
to replace some DLLs (msvc*.dll) in C:\windows\syswow64
Finally, the last Suggestion brought me on the right track:
to replace some DLLs (msvc*.dll) in C:\windows\syswow64
together with a Forum post suggesting to not use the installer but the ZIP from the Oracle site.
When running the install.bat from the ZIP I finally got the correct error message:
So I copied the MSVCR120.dll from the C:\Windows\System32 on my Windows 7 machine where the Installation of the 64-bit Driver was working fine before over to the C:\Windows\System32 Windows Server 2012 R2 machine - where indeed it was missing! - and then Installation ran through.
Related
I've successfully installed MySQL 8.0.27 with Workbench 8.0.27 on Windows 10, but when I try to launch Workbench it's just not starting or even appears in task manager.
After googling around a bit I found that I have to install the following:
Microsoft .NET Framework 4.5.2
Microsoft Visual C++ 2019 Redistributable for Visual Studio 2019.
so I download & installed them, still Workbench doesn't want to start!!!
Things I've tried to do:
uninstall & reinstall Workbench version 8.0.27 & 8.0.18.
restarting my computer
installing visual studio 2013 (but on drive E and not C).
installing a number of Visual C++ 2019 Redistributable including 2010, 2013 for both x64 & x86.
installing Python 3.10 with adding it to PATH variable.
Following Links didn't help:
MySQL Workbench not opening on Windows
MySQL Workbench is not opening
https://dev.mysql.com/downloads/mysql/
Install this first package installer in which you will get the whole package installer and also include workbench and co-related things.
I guess you downloaded the Windows installer for MySQL to install both the server and Workbench. You did not mention it in your question, so I want o ensure we have a common start point.
Python 3.10 changed a few things that might not work with MySQL Workbench 8.0.27. So, better go back to Python 3.9 for the time being.
If that still doesn't work we need to look at your WB log file.
I just ran
sfc /scannow
in CMD under Administrative privileges & it worked!
Trying to install the latest version of MySQL Server - 5.7.19 - on a clean Windows server machine using the MySql installer MSI package.
On first attempt it told me it needed a prerequisite of the Visual Studio 2013 Redistributable and installed it. When trying to install the server, however, it then complains:
1: Action 10:59:21: INSTALL.
1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A}
1: Action 10:59:21: FindRelatedProducts. Searching for related
applications
1: Action 10:59:21: AppSearch. Searching for installed applications
1: Action 10:59:21: LaunchConditions. Evaluating launch conditions
1: This application requires Visual Studio 2013 Redistributable.
Please install the Redistributable then run this installer again.
1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3: 3
1: The action 'Install' for product 'MySQL Server 5.7.19' failed.
I've tried rebooting the machine - problem persists.
I've checked in the registry to ensure Windows knows the package is installed, which it does.
I've tried installing the previous version of MySql and that installs fine.
So I cleaned out all the installations and re-ran the package, this time also selecting Workbench, Shell and some other useful tools. All of it installed fine - except the Server. That's still demanding the redistributable which is already installed.
Where can I go from here?
I had the same issue today while installing MySQL 5.7 and not sure how shall I proceed and found your questions. I was sure that I have installed the 64bit version of Visual C++ Redistributable Packages on my machine. Then I installed a 32-bit version of the same package (URL: https://www.microsoft.com/en-in/download/details.aspx?id=40784) and the MySQL Installer detected that and proceed with the installation.
Looks like the installer was looking for 32bit install path. Hope this help.
I had a similar issue while installing MySQL 5.7.19 where I was installing the x64 version of visual C++ redistributable and it refused to work. Eventually was able to get around it in a similar way to Prabhat, but installed the x86 version instead. Working so far.
Would have commented this on Prabhat's answer, but reputation restrictions.
I had a same issue, I tried multiple times, even removed multiple version of the Visual Studio Redistribute 2013, but MySql V5.7 didn't get install. I tried both x86 and 64 bit, but result was same.
Solution:
I have downloaded MySql Version 5.6 instead of 5.7, then its gets installed like a charm.
Note:
Seems like there must be some issue with the MySql V 5.7 installer.
For a 64-bit MySQL server installation, I suggest updating the 64-bit version of the Visual Studio 2013 Redistributable Package (in my case from 12.0.30501 to 12.0.40660); the Redistributable Package update can found here. I came across this solution on this MySQL Forum post, but used the answer by Prabhat (on a different server) before and it worked too.
What you need to do is to install the Visual C++ Redistributable Packages for Visual Studio 2013, doesn't matter if you have installed the ones of 2015 for some reason. Install both x86 and x64 versions. Here's the link to the installers. Hope it works for you, it did for me.
I also had a problem installing MySQL 5.7.19 because installation claimed C++ Redistributable 2013 not installed when both 16 and 32 bit version were already installed. None of the other answers here worked for me.
What I discovered is that after repairing my C++ Redistributable, the installer then found it.
After checking the solutions posted by users in this thread, both solutions (either installing runtime for both architectures 32 and 64 bits or installing a newer version of runtime) work.
The better solution is to install the newer version of VC++ 2013 x64 runtime. Please make sure you are installing the one with a file version of 12.0.40660.0 as the one the MySQL Installer currently installs is version 12.0.30501.0, and any with this or lower version may cause errors. Thanks to Jafeth Carrillo Salas for the best solution, and to all other users that contributed with other workarounds.
We will fix this issue using the newer runtime version, you can track the status at this MySQL bug link.
My computer system language is Chinese.
At first,i install English version of visual c++ 2013 , it can't work.
And than, i uninstall visual c++ 2013(en). install visual c++ 2013(cn).
it works.
Try following steps:
step 1. Got to https://www.microsoft.com/en-in/download/details.aspx?id=40784
step 2. Click for downloading Visual C++ Redistributable Packages for Visual Studio 2013
step 3. Check vcredist_x64.exe for 64 bit or vcredist_x86.exe for 32 bit
step 4. Click next and after downloading Install vcredist_** in your machine
After then relaunch MySQL installer and repeat the mysql installation process.
I was trying to create a SSIS package where i want to upload an excel file into my DB but its giving me an error that
Microsoft.ACE.Oledb.12.0 is not registered on your local machine
I have installed the 64-bit version of the MS Access Engine and it perfectly installed but after that i am still unable to create DTS package.
I have searched over the internet and found that there are two versions available for this and i have downloaded both and when i try to install the 32-bit version of the Access Engine it gives me error
You cannot install the 32-bit version of Microsoft Access Database Engine 2010 because you currently have 64-bit Office products installed.
Please help me on this i am really looking forward to it.
Somehow late to the party but nevertheless:
source
To install the Microsoft ACE OLEDB Provider 32-bit on a machine running Office 2010 64-bit:
install using cmd with the following command:
$yourPath$\AccessDatabaseEngine.exe /passive
This solution no longer works. It seems to have changed so instead of /passive, now the install requires /quiet
This solution works when installing ACE 32bit on with 64bit Office $yourPath$\AccessDatabaseEngine.exe /quiet
Thank you sir
I'm having this issue to and I tried to use the /quite but it's stating that The system cannot find the path specified.
I am trying to connect MS Access with a local mySQL database.
To do this I downloaded the mySQL ODBC connector from the mySQL website and installed it. As I am on a 64-bit system I went for the 64-bit version.
I then discovered when trying to connect Access to mySQL that my installation of Office is actually 32-bit so the driver doesn't work. So I removed the 64-bit ODBC driver and installed the 32-bit one.
Problem is, when I go into control-panel -> Administrative Tools -> Data Sources (ODBC) and try to add a new data source, the only options for the mySQL drivers seem to point to the old directory where the 64-bit drivers were. It then fails as it can't find the dlls with system error 126.
How do I get it to show the 32-bit drivers?
Run the 32-bit manager by running this command:
c:\windows\syswow64\odbcad32.exe
Also you can use RegisterDatabase() function to create connection from your code.
I wrote wrapper function many years ago:
http://5codelines.net/kak-programmno-sozdat-odbc-dsn/.
Just skip russian language and use the code.
Prior to installing the ODBC MySQL driver 5.2.6 you need to install the Microsoft Visual C++ 2010 Redistributable Package for x64 or x86 or both (just search the Microsoft site for these and download from there). Other driver versions may require different versions of this MS VC++ Redist. Package, which can coexist side by side. By default server 2008 R2 comes with the 2008 version, so installing the 2010 is required. Before installing check in Programs and Features if not already installed. Depending on you application it may require the 32 bit or the 64 bit version. Without it you get the system error 126
Then install the drivers:
To install the 32 bit version run as administrator c:\windows\syswow64\odbcad32.exe which is the 32 bit version of "Data Sources (ODBC)"
I was running VSExpress 2010 C# and SQLExpress 2008 on 32b XP. Due to a failure I am now on Win7 64bit. I have reinstalled VSExpress C# (64b). I installed SQLExpress (64b) however my application uses the Microsoft.ACE.OLEDB.12.0 driver to connect to a Office 2007 (32b) database. I could not get the Microsoft.ACE.OLEDB.12.0 to load on SQLExpress (64b).
What do I need to do to get Microsoft.ACE.OLEDB.12.0 working again in SQLExpress? Do I need to run the 32bit version? (I have downloaded it but am having problems getting it to install so I am asking while I uninstall all of my SQLExpress)
Thanks for the help. (I saw a lot of similar issues addressed but could not find a solution for my specific problem)
I think this post has the answer you're looking for -- download 64-bit version of ACE OLE DB driver. However, apparently it requires installing 64-bit version of Office as well.
Otherwise go and install WoW-enabled 32-bit version of SQL Server 2008 Express. Go to this download page and download SQLEXPR_x86_ENU.exe (note: the one without 32 in the file name). It should install on 64-bit system.
I had the same problem and couldn't install the 64 version because I have 32 bit office installed as well (so the 64 bit installed terminated). I changed the build of my program to x86 instead of AnyCPU and the 32 bit ACE worked as given in this Stack Overflow question
If you are trying to use the 32bit version you will probably need to install the 32 bit version of the Microsoft Office Database engine. However if you have 64bit office installed this will show a message saying that 64bit is already installed.
If you install the Microsoft Office Database engine using the "/PASSIVE" command line argument it will install without the prompt, and then you can use the 32 bit ACE.OleDB.12 driver.
Beware in some situations this can cause complications with Office 64bit.
I had to install the Access 2007 Runtime to fix this. Here: https://www.microsoft.com/en-us/download/details.aspx?id=4438