Article

Linux style MySQL Shell prompt

Just add the following to the [mysql] section in your .my.cnf file:
prompt=\u@\h [\d]>\
Published: 2008-01-28 Tags: #Linux #MySQL