微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐