configure users to login to your mysql database linux ubuntu code example
Example 1: create user mysql
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
Example 2: how to create new database user
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';