ou are not allowed to create a user with GRANT' on query. Default database: 'rw'. Query: 'GRANT ALL PRIVILEGES ON *.* TO 'myslave1'@'%''
时间: 2023-09-17 22:10:38 浏览: 76
MYSQL拒绝访问报错not allowed to connect
5星 · 资源好评率100%
It seems like you are trying to grant privileges to a user 'myslave1'@'%' on all databases and tables, but you do not have the necessary privileges to do so.
You need to have the GRANT privilege with the WITH GRANT OPTION to be able to grant privileges to other users. Additionally, you may need to specify the database for which you want to grant privileges.
You can try logging in as a user with the necessary privileges and executing the GRANT statement again. You can also check the MySQL documentation for more information on the GRANT statement and user privileges.
阅读全文