今天第一次嘗試使用和學習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即可