Mysqlbug:找不到文本编辑器。(电子政务系统)
我想检查mysql配置的配置。我发现mysqlbug可以检索该信息,但我得到以下错误:Mysqlbug:找不到文本编辑器。(电子政务系统),mysql,centos,Mysql,Centos,我想检查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 sh
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 只需导出可视环境变量。用法示例:
export VISUAL=vim