Homebrew Mariadb/MySQL fails to start - solution

mySQL/MariaDB on Homebrew Mac fails to start
A collection of 2 posts
mySQL/MariaDB on Homebrew Mac fails to start
I had to reset my root password on MySQL 8 on a CentOS7 installation. None of the methods I found were working. The solution was to use the special --init-file option. The method