Customize the MySQL PS1 with current database
suggest changeIn the .bashrc or .bash_profile, adding:
export MYSQL_PS1="\u@\h [\d]>"
make the MySQL client PROMPT show current user@host [database].
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents