ERROR 1231 (42000): Variable 'general_log_file' can't be set to the
value of '/var/lib/msyql/ubuntu.log'What’s going on?
The simple answer is this file doesn’t exist.
You type too fast. There is a typo in the file name, it should be /var/lib/mysql/ubuntu.log
.