Bug #105383 Wrokbench is not opening
Submitted: 29 Oct 2021 12:47 Modified: 3 Dec 2021 16:52
Reporter: Fowaz Maila Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:8.0.27 OS:Windows (windows 10 pro)
Assigned to: CPU Architecture:Any
Tags: workbench

[29 Oct 2021 12:47] Fowaz Maila
Description:
Hello
I've successfully installed MySQL 8.0.27 but when I try to open Workbench nothing happens at all (there isn't even any warning or error messages), and after searching a while I found that I have to install:
1- Visual C++ 2019 Redistributable
2- .Net 4.5

After installing them nothing changed, so here what I tried to do:
1-Trying to repair the install.
2-Trying different versions of MySQL (6, 8.0.26. 8.0.23).
3-Trying different versions of visual c++ (2010, 2013,2015,2017,2019).
4-Trying to install Python (3.8, 3.9).
5-Restarting my computer.

So I went to Event Viewer and Here's what I found:
1)
- System 

  - Provider 

   [ Name]  Application Error 
 
  - EventID 1000 

   [ Qualifiers]  0 
 
   Version 0 
 
   Level 2 
 
   Task 100 
 
   Opcode 0 
 
   Keywords 0x80000000000000 
 
  - TimeCreated 

   [ SystemTime]  2021-10-29T12:42:08.8975118Z 
 
   EventRecordID 9385 
 
   Correlation 
 
  - Execution 

   [ ProcessID]  0 
   [ ThreadID]  0 
 
   Channel Application 
 
   Computer Fowaz 
 
   Security 
 

- EventData 

   MySQLWorkbench.exe 
   8.0.27.0 
   614d9e27 
   KERNELBASE.dll 
   10.0.19041.1202 
   c9db1934 
   e0434352 
   0000000000034f99 
   3018 
   01d7ccc262caacd0 
   C:\Program Files\MySQL\MySQL Workbench 8.0\MySQLWorkbench.exe 
   C:\WINDOWS\System32\KERNELBASE.dll 
   943541bb-4316-4f02-bb33-489ae764182c 
    
    
2)
- System 

  - Provider 

   [ Name]  .NET Runtime 
 
  - EventID 1026 

   [ Qualifiers]  0 
 
   Version 0 
 
   Level 2 
 
   Task 0 
 
   Opcode 0 
 
   Keywords 0x80000000000000 
 
  - TimeCreated 

   [ SystemTime]  2021-10-29T12:42:08.5497094Z 
 
   EventRecordID 9384 
 
   Correlation 
 
  - Execution 

   [ ProcessID]  0 
   [ ThreadID]  0 
 
   Channel Application 
 
   Computer Fowaz 
 
   Security 
 

- EventData 

   Application: MySQLWorkbench.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.BadImageFormatException at MySQL.GUI.Workbench.Program.Main(System.String[])  

How to repeat:
Fresh install MySQl 8.0.27
[29 Oct 2021 13:26] MySQL Verification Team
Hello 

Thank you for the bug report.
To investigate further this issue at our end, may I kindly request you to launch workbench under debug mode (--log-level=debug3) and provide unaltered workbench log file(more details about log are explained here - https://dev.mysql.com/doc/workbench/en/workbench-reporting-bugs.html)? Thank you.

Regards,
Ashwini Patil
[30 Oct 2021 12:27] Fowaz Maila
cmd command

Attachment: cmd.png (image/png, text), 11.44 KiB.

[30 Oct 2021 12:28] Fowaz Maila
log file location

Attachment: location.png (image/png, text), 59.86 KiB.

[30 Oct 2021 12:29] Fowaz Maila
I did what you asked me for, but when I try to navigate to log file location I can't see any folder called MySQL under Roaming folder.
I attached some screenshots above.
[3 Dec 2021 16:52] Fowaz Maila
[SOLVED]

I just ran sfc /scannow in CMD under administrative privileges and it worked;