create user with mysql process list privilege code example Example: how to add privilege in mysql user CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';