Bug #68784 Provide option to define connection attributes for standard MySQL clients
Submitted: 26 Mar 2013 18:59
Reporter: Todd Farmer (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:5.6.10 OS:Any
Assigned to: CPU Architecture:Any

[26 Mar 2013 18:59] Todd Farmer
Description:
The standard MySQL command-line clients (mysql, mysqldump, mysqladmin, etc.) leverage libmysql's capabilities to set connection attributes as of 5.6.  However, there is no option to allow users to pass custom key:value pairs that would be useful in their environment.  For example, letting a nightly batch job include --connection_attributes=job:nightly_billing

How to repeat:
N/A

Suggested fix:
Implement a common command-line option that accepts user-specified connection attributes.