Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to check with what configurations mysql was configured. I found that mysqlbug can retrieve that info, but i'm getting the following error:

mysqlbug
Finding system information for a MySQL bug report
test -x 
Could not find a text editor. (tried emacs)
You can change editor by setting the environment variable VISUAL.
If your shell is a bourne shell (sh) do
VISUAL=your_editors_name; export VISUAL
If your shell is a C shell (csh) do
setenv VISUAL your_editors_name
share|improve this question

closed as off-topic by Sven, Ward, mdpc, Falcon Momot, Tom O'Connor Aug 25 '13 at 22:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Sven, Ward, mdpc, Falcon Momot, Tom O'Connor
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 3 down vote accepted

Have you tried what it's already telling you to do?

You can change editor by setting the environment variable VISUAL.
If your shell is a bourne shell (sh) do
VISUAL=your_editors_name; export VISUAL
If your shell is a C shell (csh) do
setenv VISUAL your_editors_name

in place of 'your_editors_name' you would place the name of whatever editor you know how to use. vi (or vim), nano, pico, whatever.

share|improve this answer

The solution is in the error message itself. If you are using Bash, run export VISUAL=vi before running mysqlbug. Or, pick another editor instead of vi, such as pico.

share|improve this answer

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