Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.