Skip to content

Instantly share code, notes, and snippets.

@vt-rli
vt-rli / Install_MySQL_5-7_macOS_26_Tahoe.md
Created September 18, 2025 15:07
Install MySQL 5.7 on macOS 26(Tahoe) using Homebrew

It is now September 18, 2025, three days after the release of macOS 26 (Tahoe). Due to a few legacy projects, I still need to use MySQL 5.7 in 2025.

Homebrew has long since dropped support for MySQL 5.7. The old method of installing via brew tap homebrew/core --force and then modifying [email protected] no longer works, and brew edit [email protected] is also broken.

Thanks to ferrucc-io's reply, I refined and tested the steps myself and got MySQL 5.7.44 up and running on macOS 26.

For anyone who runs into the same issue, I’m documenting here:

@vt-rli
vt-rli / mac-clear-icon-cache.sh
Created March 17, 2022 08:29 — forked from ismyrnow/mac-clear-icon-cache.sh
Clear the icon cache on a Mac when you start seeing generic icons in Finder or the Dock
sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder