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';

相关文章

这篇文章主要介绍“hive和mysql的区别是什么”,在日常操作中...
这篇“MySQL数据库如何改名”文章的知识点大部分人都不太理解...
这篇文章主要介绍“mysql版本查询命令是什么”的相关知识,小...
本篇内容介绍了“mysql怎么修改字段的内容”的有关知识,在实...
这篇文章主要讲解了“mysql怎么删除unique约束”,文中的讲解...
今天小编给大家分享一下mysql怎么查询不为空的字段的相关知识...