When I create a new connection to MySQL data base through mysql jdbc driver I see next advanced attributes in my MySQL Workbench:
We can see next attributes:
How we manage these attributes?
Connection that was created by MySQL Workbench has other attributes:
How can I set the 'program_name' attribute while connection creation or my own attributes?
The answer was found in this article Connection attributes in MySQL 5.6
There is example of url with additional attributes:
jdbc:mysql://localhost/login?connectionAttributes=program_name:Login Server,other_name:other