GVKun编程网logo

Mysql 提示 you need the SUPER privilege for this operation 的解决办法

1

如果您对Mysql提示youneedtheSUPERprivilegeforthisoperation的解决办法感兴趣,那么这篇文章一定是您不可错过的。我们将详细讲解Mysql提示youneedthe

如果您对Mysql 提示 you need the SUPER privilege for this operation 的解决办法感兴趣,那么这篇文章一定是您不可错过的。我们将详细讲解Mysql 提示 you need the SUPER privilege for this operation 的解决办法的各种细节,此外还有关于'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces、.NET we need you...join our grope、1227- Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for operation、Access denied; you need (at least one of) the PROCESS privilege(s)的实用技巧。

本文目录一览:

Mysql 提示 you need the SUPER privilege for this operation 的解决办法

Mysql 提示 you need the SUPER privilege for this operation 的解决办法

转:https://hbiao68.iteye.com/blog/2211734

 

在 fedora14 上直接 yum install mysql mysqlserver 装好 mysql 之后

用 mysqladmin 修改密码提示

mysqladmin: Can''t turn off logging; error: ''Access denied; you need the SUPER privilege for this operation''

 

 mysqladmin: Can''t turn off logging; error: ''Access denied; you need the SUPER privilege for this operation''

 

解决办法:

    修改 mysql 登录设置

    vi /etc/my.cnf(windows 下是 my.ini)

    在 [mysqld] 段中加入 skip-grant-tables

    保存之后重启 mysql 服务

    service mysqld restart

    或者直接 service mysqld stop

    mysqld_safe skip-grant-tables 效果一样。

 

 

重启 mysql 服务之后修改 mysql 密码

'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces

'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces

如何解决''Access denied; you need (at least one of) the PROCESS privilege(s) for this operation'' when trying to dump tablespaces?

利用--no-tablespaces

见mysqldump-文档

至少需要转储表的 SELECT 权限,转储视图的 SHOW VIEW ,转储触发器的 TRIGGER ,如果不使用 –single-transaction 选项,则需要 LOCK TABLES ,并且(从 MysqL 8.0.21 开始)PROCESS 如果 –不使用 no-tablespaces 选项。如选项描述中所述,某些选项可能需要其他权限。

并查看 param no-tablespaces的文档

–无表空间,-y

此选项抑制 MysqLdump 输出中的所有 CREATE LOGFILE GROUP 和 CREATE TABLESPACE 语句。

解决方法

我正在尝试使用命令备份 mysql

mysqldump -u root -p  database_name > backup.sql

,但它抛出一个错误:

‘Access denied; you need (at least one of) the PROCESS privilege(s) for this operation’ when trying to dump tablespaces

另外,我想备份我的数据库,所有表都单独存储为一个文件。我该怎么做?

mysql 版本 = 5.7.31

.NET we need you...join our grope

.NET we need you...join our grope

Job responsibilities:

1. Understand business knowledge quickly;

2. Participate in the design work, design and review under the guidance;

3, according to the design document, the development specification carries on the coding work independently, fixes the product BUG

4. Participate in the review of development achievements, identify defects and fix them to ensure code quality

Technical requirements:

1. No less than 3 years development experience;

2. Familiar with C#CASP. Net MVCU Webapi, WCFF, etc.;

3. Familiar with SQL Server database script, database optimization and other related technologies; Experience in large scale mobile Internet and e-commerce projects;

Salary:8k/m-15k/m

1227- Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for operation

1227- Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for operation

数据技术都能四世同堂,凭什么开发 30 岁就要被干掉?

Centos7 MySQL8.0.16 修改 root% 用户密码时遇到如下错误:

解决如下:

修改 mysql 登录设置

[root@localhost ~]#  vim my.cnf

在 [mysqld] 段中加入

skip-grant-tables

保存之后重启 mysql 服务

[root@localhost ~]# service mysqld restart

登录 mysql

[root@localhost ~]# mysql -u root -p

登录后先刷新一下(不然会报错 :ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

mysql> flush privileges;

修改密码

mysql> use mysql;
mysql> alter USER ''root''@''%'' IDENTIFIED BY ''要修改的密码'';

再刷新一下

mysql> flush privileges;

删除 skip-grant-tables

重启 mysql

 

Access denied; you need (at least one of) the PROCESS privilege(s)

Access denied; you need (at least one of) the PROCESS privilege(s)



在帮一个朋友的数据库导出的时候遇到错误,如下:

点击(此处)折叠或打开

  1. [root@iZ252affh68Z ~]# innobackupex --defaults-file=/etc/my.cnf --host=10.51.xxx.xxx --user=xtrabk --password=xxxxxx --stream=tar /tmp | gzip > /mnt/backup/mysql_full/xtra_fullbak_2017-01-20.tar.gz
  2. 170120 18:21:48 innobackupex: Starting the backup operation

  3. IMPORTANT: Please check that the backup run completes successfully.
  4.            At the end of a successful backup run innobackupex
  5.            prints "completed OK!".

  6. 170120 18:21:48 version_check Connecting to MysqL server with DSN ''dbi:MysqL:;MysqL_read_default_group=xtrabackup;host=10.51.xxx.xxx;port=3306;MysqL_socket=/mnt/MysqL/MysqL.sock'' as ''xtrabk'' (using password: YES).
  7. 170120 18:21:48 version_check Connected to MysqL server
  8. 170120 18:21:48 version_check Executing a version check against the server...
  9. 170120 18:21:51 version_check Done.
  10. 170120 18:21:51 Connecting to MysqL server host: 10.51.xxx.xxx, user: xtrabk, password: set, port: 3306, socket: /mnt/MysqL/MysqL.sock
  11. Using server version 5.7.12-log
  12. Error: Failed to execute query
  13. SHOW ENGINE INNODB STATUS: Access denied; you need (at least one of) the PROCESS privilege(s) for th
 根据提示是缺少PROCESS权限,赋予后问题解决

grant process on *.* to xtrabk@''10.51.xxx.xxx'';

我们今天的关于Mysql 提示 you need the SUPER privilege for this operation 的解决办法的分享就到这里,谢谢您的阅读,如果想了解更多关于'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces、.NET we need you...join our grope、1227- Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for operation、Access denied; you need (at least one of) the PROCESS privilege(s)的相关信息,可以在本站进行搜索。

本文标签: