Are there any MySQL shells that support syntax highlighting? I know in my.cnf, you can set the shell string with, for example:

prompt=(\\u@\\h) [\\d]>\\_

But is there any more customization possible? I'd love to have some colors or syntax highlighting. And if it's not possible with the default MySQL shell, are there any alternate shells for MySQL?

4 Answers 4


In answer to your question, try vim with dbext


Take a look at AltSQL (Github).


MySQL workbench is very comfortable. But i wouldn't call it shell in a common way.

  • 1
    I wouldn't call it a shell either :)
    – CamelBlues
    Jan 30, 2012 at 20:04

Pretty old question but recently, MyCLI has been pretty user-friendly and complete.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.