Patch Bug # 92141
Bug patch https://bugs.mysql.com/bug.php?id=92141
In some cases, primary / foreign key icons are not displayed in the ER editor
It was found that in the images folder some of the png icon files are very large. In particular, for the bug in question, the db.Column.pkfk.11x11.png file has a size of more than 4000 bytes (and this is for the 11 x 11 icon). If you compress this file, the problem will be solved
In addition to this file, there are other large files in the images folder. Compress them all using advpng from https://sourceforge.net/projects/advancemame/files/advancecomp/1.15/.
- Close MySQL Workbench
- Copy the files advpng.exe, patch.bat, zlib.dll to the images folder, I have it in "C: \ Program Files \ MySQL \ MySQL Workbench 8.0 CE \ images"
- Run patch.bat (make sure you run it as "Administrator")
- Let's open MySQL Workbench to see the correctly displayed key icons.
If this still didn't work, copy the images folder to the desktop and run patch.bat as above in "desktop \ images" folder. Then overwrite the images folder in "C: \ Program Files \ MySQL \ MySQL Workbench 8.0 CE \ images" with the "desktop \ images" folder. Open MySQL Workbench to see the icons.
Checked for version 8.0.23 windows
Does not require files from repo. Download advpng using the link about or using homebrew.
- Close MySQL Workbench
- Nagivate to /Applications/MySQLWorkbench.app/Contents/Resources
- Run
advpng -z db.Column.pkfk.11x11.png
- Open MySQLWorkbench
Checked for macOS 10.14.6