服务器环境:
[root@localhost mysql]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@localhost mysql]# uname -a
Linux localhost.localdomain 3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost mysql]# CentOS Linux release 7.3.1611 (Core)
MySQL版本号:
mysql> select version();
+------------+
| version() |
+------------+
| 5.7.13-log |
+------------+
1 row in set (0.00 sec)
报错具体情况:
[root@localhost tmp]# mysqldump -uroot -p --default-character-set=utf8 --triggers -R --hex-blob --flush-logs --events --single-transaction --master-data=2 --all-databases|gzip >/tmp/134-20170831.sql.gz
Enter password:
mysqldump: Couldn't execute 'SHOW FIELDS FRO