The server encountered an intern
842 2023-04-03 01:20:04
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.