Create a MySQL user on macOS

USE mysql;
CREATE USER 'your_username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';
GRANT ALL PRIVILEGES ON * . * TO 'your_username'@'localhost';
FLUSH PRIVILEGES;