-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colour mysql shell prompt #9
Comments
Hello. There is a trick described in https://superuser.com/questions/397183/mysql-command-line-color-prompt
Update: you can use color sequences in mysql promt. That works on my machine:
|
Hello, Thank you for responding to our question. I try the referenced link and the suggested export but doesn't work in my mac... :( |
Do you have any colors in your terminal? I guess it could be swittched off. You can try to check information there: https://stackoverflow.com/questions/1550288/os-x-terminal-colors I don't have mac right now, so I can't test it myself. |
Yes, I have colors in my terminal. I try different suggestions from different sources trying to color MySQL prompt but nothing work. That's why I create this issue/question since your GitHub for color MySQL prompt work excellent... |
Hello,
How can I colour the mysql shell prompt using grc?
I change the mysql shell prompt using this:
export MYSQL_PS1="mysql_\d>_"
which result on:
mysql [database]>
I want to colour the database name.
The text was updated successfully, but these errors were encountered: