Install percona-server on Mac Catalina

First of all Install Homebrew from here

https://brew.sh/

After you finish you need to run this command 

brew install percona-server

Initialize the DB

unset TMPDIR

mysqld --initialize --datadir=/usr/local/var/mysql --user={your username} --port=3307 --general-log-file=/var/log/percona/percona-error.log

Note :Don't forget to replace the username with your user {your username} = root

 

then you need to restart the service 

/usr/local/Cellar/percona-server/{your mysql version}/bin/mysql.server start

Change root password (Optional)

mysqladmin -u root -p'<temp_password>' password '<new_password>'