Skip to content

mysql services won't start after 9.0.1 update #5539

Discussion options

You must be logged in to vote

This is due to Homebrew never releasing a MySQL 8.4 version and you can only upgrade to 9.0 from 8.4.

My fix:

  1. Download and install MySQL 8.4 from https://dev.mysql.com/downloads/mysql/
  2. Find where it was installed to (for me, this was /usr/local/mysql-8.4.2-macos14-x86_64)
  3. Run <path to mysql>/bin/mysqld_safe --datadir=$(brew --prefix)/var/mysql (e.g. /usr/local/mysql-8.4.2-macos14-x86_64/bin/mysqld_safe --datadir=$(brew --prefix)/var/mysql)
  4. Run mysqladmin shutdown
  5. Run brew services start mysql
  6. Uninstall MySQL 8.4

Replies: 7 comments 16 replies

Comment options

You must be logged in to vote
7 replies
@peylix
Comment options

@mbmohib
Comment options

@OfficialCRUGG
Comment options

@styledev
Comment options

@wq9578
Comment options

Answer selected by thinkverse
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@thinkverse
Comment options

@konnano
Comment options

@RobertChalmers
Comment options

@RobertChalmers
Comment options

@NanmiCoder
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Konstrukteur
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment