ERROR 1227 42000 Access denied; you need at least one of the CREATE USER privileges for this operation
This error message indicates that the user who is trying to execute a command does not have the necessary privileges to create a new user. To resolve this issue, the user needs to be granted the CREATE USER privilege by a user with administrative privileges. This can be done by running the following command:
GRANT CREATE USER ON . TO 'username'@'localhost';
Replace 'username' with the name of the user who needs the privilege. Once the privilege has been granted, the user will be able to create new users
原文地址: https://www.cveoy.top/t/topic/fHOJ 著作权归作者所有。请勿转载和采集!