CREATE USER 'your_username'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON *.* TO 'your_username'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
code
How to Create a New MySQL User with Full Privileges
create mysql user
grant mysql privileges
mysql new user tutorial
mysql root access
mysql flush privileges
mysql grant all on localhost
mysql user management
ubuntu mysql create user
mysql database permissions
mysql user access guide