数码资讯
linux – 变量’general_log_file’不能设置为’/var/lib/msyql/ubuntu.log’的值
我将 mysql的general_log_file变量的值更改为其他内容,现在我正在尝试将其更改回原来的变量/var/lib/mysql/ubuntu.log.但当我这样做时: SET GLOBAL general_log_file = '/var/lib/msyql/ubuntu.log
选购提示
关注价格、性能、续航、售后和真实使用场景,理性比较后再下单。
我将
mysql的general_log_file变量的值更改为其他内容,现在我正在尝试将其更改回原来的变量/var/lib/mysql/ubuntu.log.但当我这样做时:
SET GLOBAL general_log_file = '/var/lib/msyql/ubuntu.log';
我收到此错误:
ERROR 1231 (42000): Variable ‘general_log_file’ can’t be set to the
value of ‘/var/lib/msyql/ubuntu.log’
这是怎么回事?
ERROR 1231 (42000): Variable 'general_log_file' can't be set to the
value of '/var/lib/msyql/ubuntu.log'What’s going on?
简单的答案是这个文件不存在.
你打字太快了.文件名中有拼写错误,应该是/var/lib/mysql/ubuntu.log.
声明:本文内容用于数码产品信息整理与选购参考,具体价格、库存、售后政策以官方渠道和电商页面实时信息为准。