我想检查使用mysql配置的配置。我发现mysqlbug可以检索该信息,但是出现以下错误:

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

最佳答案

这意味着您可以通过导出环境变量来选择使用想要的vim,nano等而不是emacs的编辑器。

只需导出VISUAL环境变量。用法示例:

export VISUAL=vim

10-07 19:38
查看更多