How to create new user in MySQL

% = wildcard (any) Create a new Super-User “GURU” GRANT ALL PRIVILEGES ON *.* TO ‘GURU’@’%’ IDENTIFIED BY ‘abc123’ WITH GRANT OPTION; (root@localhost) [mysql]> select user,host,password from user; +———+———–+——————————– | user    | host      | password                                  | +———+———–+———————————- | root    | localhost | *6691484EA6B50DDDE1926A220 | | root    | suse01    | *6691484EA6B50DDDE1926A22| | replica | %         | […]

Tagged , ,