[ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id....

Posted hl15

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id....相关的知识,希望对你有一定的参考价值。

解决方式:修改my.cnf文件如下 

  1.  
    log-bin=mysql-bin
  2.  
    server-id=1

以上是关于[ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id....的主要内容,如果未能解决你的问题,请参考以下文章

Zabbix You do not have the SUPER privilege and binary logging is enabled

You do not have the SUPER privilege and binary logging is enabled解决方法

You do not have the SUPER privilege and binary logging is enabled解决方法

mysql报错:You do not have the SUPER privilege and binary logging is enabled

redis启动后出现"WARNING you have Transparent Huge Pages (THP) support enabled in your kernel"问题

ERROR 1064 (42000): You have an error in your SQL syntax...