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: 9 comments 22 replies

Comment options

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

@OfficialCRUGG
Comment options

@styledev
Comment options

@wq9578
Comment options

@zshengzhe
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
9 replies
@konnano
Comment options

@RobertChalmers
Comment options

@RobertChalmers
Comment options

@NanmiCoder
Comment options

@dyfun
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

Comment options

You must be logged in to vote
2 replies
@nosnilmot
Comment options

@webninjjacoder
Comment options

Comment options

You must be logged in to vote
2 replies
@SMillerDev
Comment options

@emjayess
Comment options

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