mysql create user with grant selection code example Example: create user database mysql command ubuntu CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';