Bug #86807 | mysqldump export empty mysql.proc | ||
---|---|---|---|
Submitted: | 23 Jun 2017 3:07 | Modified: | 30 Jun 2017 10:59 |
Reporter: | 镇熙 林 | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S1 (Critical) |
Version: | 5.7.16 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | empty, mysql.proc |
[23 Jun 2017 3:07]
镇熙 林
[28 Jun 2017 18:28]
MySQL Verification Team
Hi, What warnings did mysqldump shown you when you tried to execute that dump? If you remove the redirection for stderr you will see them. all best Bogdan Kecman
[30 Jun 2017 9:11]
镇熙 林
Warning message is: mysqldump: [Warning] Using a password on the command line interface can be insecure.
[30 Jun 2017 10:59]
MySQL Verification Team
Hi, You were not adding --events so you should get a warning... [root@localhost ~]# /usr/local/mysql/bin/mysqldump -uroot --flush-privileges --routines --create-options --triggers --add-drop-table --add-drop-trigger --add-drop-database --default-character-set=utf8 --single-transaction --all-databases --set-gtid-purged=ON >dump.sql Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transactions, even those that changed suppressed parts of the database. If you don't want to restore GTIDs, pass --set-gtid-purged=OFF. To make a complete dump, pass --all-databases --triggers --routines --events. [root@localhost ~]# Anyhow, you are right, this is a bug, when gitd is on mysqldump is not dumping proc table (--events or no --events does not matter) Thanks for your submission! all best Bogdan
[5 Mar 2019 4:16]
jinlai zhang
是大V