percona5.7.11启动报错(server-id)

今天第一次尝试使用和学习percona5.7.11的新特性
在设置完bin_log的时候无法启动数据库
log-error报错
2016-04-22T03:17:44.297472Z 0 [ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id. Please refer to the proper server start-up parameters documentation
根据英文很容易得知是percona5.7.11设置bin_log后要一定设置server-id参数,在/etc/my.cnf中加一条server-id=1即可
当前题目:percona5.7.11启动报错(server-id)
文章网址:http://myzitong.com/article/jccsoc.html