-3

Can grant command in mysql create a new user?

s_goca
  • 3
  • 1
  • The command itself can't. Granting an existing user the right permissions lets *them* do it, though. – ceejayoz May 21 '19 at 19:26

1 Answers1

0

If you check out the MySQL documentation on the GRANT syntax, you'll see a section regarding Privileges Supported by MySQL that mentions all the permissions you can grant including CREATE USER:

CREATE USER

Enable use of CREATE USER, DROP USER, RENAME USER, and REVOKE ALL PRIVILEGES. Level: Global.

Community
  • 1
  • 1
Daniel
  • 10,641
  • 12
  • 47
  • 85