在帮一个朋友的数据库导出的时候遇到错误,如下:
点击(此处)折叠或打开
-
[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
-
170120 18:21:48 innobackupex: Starting the backup operation
-
-
IMPORTANT: Please check that the backup run completes successfully.
-
At the end of a successful backup run innobackupex
-
prints "completed OK!".
-
-
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).
-
170120 18:21:48 version_check Connected to MysqL server
-
170120 18:21:48 version_check Executing a version check against the server...
-
170120 18:21:51 version_check Done.
-
170120 18:21:51 Connecting to MysqL server host: 10.51.xxx.xxx, user: xtrabk, password: set, port: 3306, socket: /mnt/MysqL/MysqL.sock
-
Using server version 5.7.12-log
- Error: Failed to execute query
-
SHOW ENGINE INNODB STATUS: Access denied; you need (at least one of) the PROCESS privilege(s) for th
grant process on *.* to xtrabk@'10.51.xxx.xxx';