Use MariaDB.
MySQL community edition had permissons issued with mysqld
.
brew update
brew install mariadb
mysql.server start
mysql
Default port is 3306.
lsof -i -n -P | grep mariadb
netstat -aln | grep 3306
CREATE USER 'new_user'@'localhost' IDENTIFIED BY 'my_password';
GRANT ALL ON my_db.* TO 'new_user'@'localhost';
FLUSH PRIVILEGES;