Created
June 27, 2014 15:57
-
-
Save acehand/8d54b59ec2d0238b3059 to your computer and use it in GitHub Desktop.
To make the Host name and db name appear in the mysql prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MYSQL_PS1="\u@\h [\d]> " | |
add this to your path and from next time you mysql prompt will include host , user and the database name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment