How to create a new user in mysql with all privileges mysql -u username -p then press entertype passwordCREATE USER ‘newuser’@’localhost’ IDENTIFIED BY ‘password’;GRANT ALL PRIVILEGES ON * . * TO ‘newuser’@’localhost’;FLUSH PRIVILEGES;