To start mysql, in the terminal, type in mysql -u root
In the MySQL CLI:
CREATE USER 'ahkow'@'localhost' IDENTIFIED BY 'rotiprata123';
GRANT ALL PRIVILEGES on sakila.* TO 'ahkow'@'localhost' WITH GRANT OPTION;
Note: Replace sakila with the name of the database you want the user to have access to
FLUSH PRIVILEGES;