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.
Related
I have a Mac and use parallels to access Windows 11. I am trying to download MySQL, and everything successfully downloaded except for the Workbench. It fails to install every time with the error, "The processor is not adequate for running MySQL Workbench 8.0 CE."
I have tried googling and searching through forums and videos, and cannot find this exact error, and have tried using solutions from similar workbench issues.
I have tried uninstalling the program, and reinstalling, as well as restarting Windows and the computer as a whole. I have downloaded Visual Code 2022, 2019, and 2017 in hopes that one of these would work, but none did. I also added the development C++ add on to Visual Code like some people suggested, and that did not help. I also have downloaded the 2017 Visual C++ Redistributable for Visual Studio 2017 (version 15.9) and tried to "repair" it. Still did not work, still get the same error. Also, I have already downloaded NET framework 4.5, so that is not the problem either.
I don't know where else to look, or what other resources to try and was wondering if anyone had any ideas or knows to how to solve this issue. Thank you for any help!
Windows on ARM emulation isn't good enough to trick the MySQL Workbench installer into thinking that it's running on an Intel CPU, so the installation fails.
Fortunately, this is fixable with some degree of effort - you have to patch the MSI file. There's likely other ways to do the patch, but here's how I did it using Orca:
Install the Visual Studio 2022 ARM preview and include the tools needed for C++ development. This will get the Windows SDK installed.
Run the Orca installer that's bundled with the Windows SDK (it will be put somewhere like "C:\Program Files (x86)\Windows Kits\10\bin\WINDOWS SDK VERSION\x86\Orca-x86_en-us.msi")
Download the MySQL Workbench .msi installer from https://dev.mysql.com/downloads/workbench/. Do not use the MySQL Installer that handles everything - you want the dedicated installer that handles just Workbench.
Right click the downloaded .msi, choose "Show More Options" and then "Edit with Orca"
Open the "LaunchCondition" table in the left hand list.
In the right hand side, there will be a row saying "Intel >= 5". Right click it and select "Drop Row" to remove the CPU check.
File > Save As and save your modified .MSI file.
You can now run the modified .MSI file and it'll install Workbench just fine on your Windows 11 on ARM environment. It works great in Parallels on my M2 MacBook Air!
your Mac silicon is M1?
M1 not support, intel is ok
I've tried to run wampserver on my local side, but mysql server doesn't run.
when I try to install service, it give me error. I searched the answer all day and found some answers on here and there.
but any solution doesn't work for me. I tried to install warpserver on windows7 home OS vmware
Any help for me?
None of answers in google worked for me . This is how I solved my problem :
According to Wampserver forum you must install ALL versions of Microsoft Visual C/C++ Redistributable(2008 , 2010 , 2012 , 2013 , 2015 , 2017 ... ) . So you have to download them one by one and then install all of them (Not just one/latest ) .
I've already packed them here (x86) and here (x64). Just download and extract them then install all distributions at once then restart your Windows and run Wampserver.
Alternatively, you could download the full package from Microsoft's official page: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
That's it!
I finally found solution to fix my problem.
I've tried several ways to fix above problem and but nothing work for me.
As you know, WampServer use some visual c++ redistributable packs to run. And it makes user confuse which version of it should be installed (at least in my case)
After struggling few hours to fix it, I found good software - check_vcredist which guide wampserver installation easily.
http://wampserver.aviatechno.net/files/tools/check_vcredist.exe
Before you install WampServer, you'll get all information what you're missing on your laptop now if you run this software. Please follow it's notice. then WampServer will be installed successfully.
I hope this answer give some help to someone who is stealing his time to install WampServer.
Download visual c++ redistributable packs and install
Link: https://www.microsoft.com/en-in/download/details.aspx?id=30679
Restart and it should work
You should install the following packages:
Microsoft Visual C++ 2012 (11.0)
Microsoft Visual C++ 2013 (12.0)
Microsoft Visual C++ 2015-2019 (14.0)
👇Try this one, it works for me after facing bunch of attempts👇
Solution for Wamp server problem(msvcp120.dll or msvcp120.dll or any other missing file)
Install wamp server
if the problem encounters as msvcp120.dll or any other file missing
search for the particular file with correct system ( whether 32 or 64bit ) size, then download the particular missing file, the file size is about ( 0.5 - 0.95 MB )
then extract the file and paste it in (local disk=>windows=>search for name as system 32 or 64)and click it.
then it'll show the list of files, in that location, paste the extracted file within the particular system 32 or 64
then uninstall the wamp server)
After that must shut down your PC
then turn on PC
reinstall wamp server .
Atlast, no problem will exist and green icon will also be displayed👍
Solved just installing:
Visual Studio 2015, 2017 and 2019: x64 https://aka.ms/vs/16/release/vc_redist.x64.exe
Visual Studio 2013 (VC++ 12.0): https://aka.ms/highdpimfc2013x64enu
Visual Studio 2012 (VC++ 11.0): https://download.my.visualstudio.com/db/en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x64_3161523.exe?t=4e421644-264c-4b19-b362-eab41d52c831&e=1607795665&h=5bc66a728d26f6912200e633437ad9a9&su=1
And then, wampserver3.2.3_x64.exe
step 1 :
download check_vcredist.exe and run it.
now you can see what you don't have.
step 2 :
download what you don't have from here and install them.
I resolved with logic, I saw that the problem was with mysqld (MYSQL oracle in 3306), then I looked for the mysql 5.7 requirementes in the official page, and was vcredist c++ 2013 and downloaded, installed and solved. Only uninstall and reinstall wamp. But vcredist c++ 2013 was the solution for me for wamp 3.2.3 version.
download the missing file from
https://www.dll-files.com/msvcp120.dll.html
Add the file to C:\Windows\System32
I want to install MySQL installer msi with my setup.(MySQL installer has to install silently. I am using batch file in custom action to do this.)
However, the problem is that MySQL's msi cannot be run from within main setup.msi it gives out 1618 error(Another installation needs to be completed.) I would like to know an easy way around this.
Background info: MySQL installer unpacks the manifest which contains MySQLInstallerConsole.exe it is then called through another cmd command to install MySQL.
So all I am looking to do is to execute MySQL installer so that it unpacks the manifest. Later I would call the MySQLInstallerConsole.exe to install MySQL through custom action.
Just to mention even more possibilities- some my colleagues mentioned (VS bootstrapper, burn):
Just start writing a batch or script for calling the two MSIs after each other.
Always a good starting point maybe, if you have no experience with MSI.
Write your own mini setup.exe bootstrapper with 5 lines of code to do the above.
(To be more concrete in "Third party tools":) Buy InstallShield or Advanced Installer or InstallAware, this are the tools with ready GUIs to do such easy bootstrapping.
I would recommend the second out of them. Starting another MSI are only two clicks. Similar with the other. But there are BIG differences between the three, especially InstallAware is special.
! Mentioned "mini bootstrappers" of those tools are not as powerful as Burn or the others followed:
Buy the ready setup suite SetupFactory which can be used as a bootstrapper for MSIs.
Use the InstallShield "Suite" project type, if you buy the Premium Edition of InstallShield. Costs big bucks, but has a friendly user interface. I was successful using it before some years, but I had to work around a handful of bugs as always with IS (but I guess you will discover bugs with most tools. Way it is.)
There (again) Burn would come in handy, you could fix potential bugs or behaviours on your own here ...
Only it could take you more time in the beginning.
... Of course there may be more.
There isn't an easy work around. Windows Installer enforces a 1 installation at a time rule through the use of a mutex. You need to create a bootstrapper / chainer to serialize the installation of your packages. Visual Studio Deployment Projects don't support this. I'd suggest looking at Windows Installer XML (WiX) and it's Burn boostrapper / chainer engine.
The documentation is a bit sparse, but in the Visual Studio world the customized bootstrap is the Bootstrap Manifest Generator. The docs start here:
https://msdn.microsoft.com/en-us/library/ms165429.aspx
and there is an old article here:
https://msdn.microsoft.com/en-us/magazine/cc163899.aspx
but it's not clear how much info and support is available since setup projects were removed from setup projects and then restored.
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!)
I upgraded my Delphi to 2010 version and I tried to open and run application written in Delphi 2006. The app is using mysql by dbexpress with libmysql.dll and a second driver found somewhere on the Internet.
I can't run it on 2010. I'm always getting "missing libmysql.dll library". I tried to get new version of it but it didn't help. Copying this library into almost all system directories didn't help.
I'm out of any ideas what to do, how do I connect to database :(
It's most probably a unicode problem. PChar is no longer a pointer to an ansistring, but a pointer to a unicodestring. Try and upgrade the dbexpress driver. I don't mean the dll, but the dbexpress wrapper code. I'd need a little more information to help further though.
check you have dbxmys.dll available to your app too (in the exe dir or on the path)