Bug #69345 | Change mysql client default prompt to "mysql (\d)> " | ||
---|---|---|---|
Submitted: | 29 May 2013 14:49 | Modified: | 24 Jun 2013 20:15 |
Reporter: | Morgan Tocker | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S4 (Feature request) |
Version: | 5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[29 May 2013 14:49]
Morgan Tocker
[1 Jun 2013 12:43]
Daniël van Eeden
I think a "mysql [\d] > " prompt would indeed be very good thing. If "(" or "[" is used doesn't really matter. The longer version as used by MySQL sandbox is a bit too long for a default. The alternative implementation method for this would be to put it in the my-default.cnf file.
[24 Jun 2013 20:15]
MySQL Verification Team
Thank you for the bug report.
[5 Nov 2013 7:16]
Daniël van Eeden
The hostname should only be added to the default prompt if Bug #48286 is fixed. Otherwise it would be 'localhost' in too many cases and not really helpful.