1419 - You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) 触发器 文档 没有触发器。 新建 添加触发器 文档 打开新的 phpMyAdmin 窗口 添加触发器 Close 详细 触发器
时间: 2023-05-21 16:00:49 浏览: 1429
这是一个关于 MySQL 触发器的问题,需要在 MySQL 数据库中使用触发器。触发器是一种在数据库中自动执行的程序,当特定的事件发生时,它们会被触发。在 phpMyAdmin 中,可以通过打开新窗口并添加触发器来创建触发器。如果出现“1419 - You do not have the SUPER privilege and binary logging is enabled”错误,可以尝试使用较不安全的 log_bin_trust_function_creators 变量。
相关问题
mysql8.0.35 Access denied; you need (at least one of) the SUPER or REPLICATION_SLAVE_ADMIN privilege(s) for this operation
在MySQL 8.0.35版本中,当执行某些操作时,可能会出现"Access denied; you need (at least one of) the SUPER or REPLICATION_SLAVE_ADMIN privilege(s) for this operation"的错误。这是因为执行该操作需要具有SUPER或REPLICATION_SLAVE_ADMIN权限。
解决这个问题的方法是授予用户相应的权限。你可以使用GRANT语句来授予用户SUPER或REPLICATION_SLAVE_ADMIN权限。下面是两种方法:
方法一:授予SUPER权限
```sql
GRANT SUPER ON *.* TO 'username'@'localhost';
```
方法二:授予REPLICATION_SLAVE_ADMIN权限
```sql
GRANT REPLICATION SLAVE ADMIN ON *.* TO 'username'@'localhost';
```
请将上述命令中的'username'替换为你要授予权限的用户名。
授予权限后,重新执行你的操作,应该就不会再出现"Access denied; you need (at least one of) the SUPER or REPLICATION_SLAVE_ADMIN privilege(s) for this operation"的错误了。
Access denied; you need (at least one of) the SUPER or SET_USER_ID privilege(s) for this operation
I'm sorry, but I'm not sure what operation you are trying to perform. Can you please provide more context or information about the issue you are facing?