install magento localhost mac code example
Example: how to install magento2.4 on mac book
CREATE USER 'admin'@'localhost' IDENTIFIED WITH mysql_native_password BY 'admin123';
CREATE USER 'admin'@'localhost' IDENTIFIED WITH mysql_native_password BY 'admin123';