gpt4 book ai didi

Mysqlbug : Could not find a text editor.(尝试过 emacs)

转载 作者:行者123 更新时间:2023-11-30 01:22:15 25 4
gpt4 key购买 nike

我想检查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

关于Mysqlbug : Could not find a text editor.(尝试过 emacs),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18410036/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com