Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

In answer to your question, try vim with dbext

share|improve this answer

Take a look at AltSQL (Github).

share|improve this answer

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

share|improve this answer
I wouldn't call it a shell either :) –  CamelBlues Jan 30 '12 at 20:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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