Installing mysql error

I am trying to install mysql through brew install mysql and during the installation process it does not get past:

brew install mysql
==> Downloading https://cdn.mysql.com/Downloads/MySQL-8.0/mysql-boost-8.0.18.tar
######################################################################## 100.0%
==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
==> make

It does not move past this, I have done control-c and have tried it again, but alas I get the same output. brew doctor does not show any errors it outputs:

Your system is ready to brew.

There’s an open PR to fix this issue at https://github.com/Homebrew/linuxbrew-core/pull/15615

Should be fixed now.