Linux style MySQL Shell prompt

Just add the following to the [mysql] section in your .my.cnf file:
prompt=\u@\h [\d]>\
More about: Linux / MySQL

Sign up for my newsletter to get notified when I post new content on this blog and with the occasional exclusive content only for subscribers.

By clicking on the Subscribe button I am giving my consent for Benjamin Eberlei to hold my name and email address for the purposes of contacting me with a newsletter on the topics of this blog. You can unsubscribe with one click at any time and withdraw your consent. No spam. I will never share your e-mail address. Privacy Policy