User Management and Privileges in MySQL
Published July 26, 2025
By Sai Sree Ram Gundepudi
Example
CREATE USER 'report_user'@'localhost' IDENTIFIED BY 'securepass';
GRANT SELECT ON sales_db.* TO 'report_user'@'localhost';