how to login to mysql as normal user in ubuntu
snippet in sql

how to login to mysql as normal user in ubuntu

user5855

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON database_name.* TO 'newuser'@'localhost';

how to login to mysql as normal user in ubuntu

user3387

mysql -u newuser -p