为何mysql5.7版本开启binlog后mysql启动不起来

在mysql5.7版本开启binlog(在配置文件中添加log_bin=mysqlbinlog)的时候会报错,查看错误日志发现以下错误:mysql 2019-04-08T07:35:16.245337Z 0 [ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id. Pleas
相关文章
相关标签/搜索