Bug #62069 adding schema name in mysqldump output

Submitted: 3 Aug 2011 9:14 Modified: 3 Aug 2011 9:43
Reporter: Shantanu Oak Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S4 (Feature request)
Version:any OS:Any
Assigned to: CPU Architecture:Any
Tags: mysqldump, oksoft

[3 Aug 2011 9:14] Shantanu Oak
Description:
I have the same table name across several schema and when I process the dump output, it is not possible to know which schema does it relate to.
Is it possible to add a switch to mysqldump command that will add the database name to the generated statements? 
insert into db_name.tbl_name

instead of 
use db_name
insert into tbl_name

How to repeat:
mysqldump --all-databases

Suggested fix:
mysqldump --all-databases --add-schema-name
[3 Aug 2011 9:43] Valeriy Kravchuk
Thank you for the feature request.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.