MySQL command line color prompt
Fresh3 days ago
Mar 15, 202619449 viewsConfidence Score0%
0%
Problem
I want to add colors to the MySQL command line color prompt. I have so far in a script (database.sh): I would like to be red, to be blue, to be green and to be cyan: Is it possible to do this in my script?
Error Output
mysql -uroot -hlocalhost -A --prompt="\u@\h:\d> "
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: MySQL command line color prompt
Low Risk
Don't listen to people who say you can't. Here: Then:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix