create mysql user on all hosts

Solutions on MaxInterview for create mysql user on all hosts by the best coders in the world

showing results for - "create mysql user on all hosts"
Sara
28 Aug 2016
1CREATE USER 'newuser'@'%' IDENTIFIED BY 'user_password';
2GRANT ALL PRIVILEGES ON *.* TO 'newuser'@'%';
3SHOW GRANTS FOR 'newuser'@'%';
4FLUSH PRIVILEGES;