在mysqld下设置log-bin后重启出现错误,

[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

需要提供一个server-id,所以在[mysqld]下加上server-id配置,重启即可

相关文章:

  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2021-06-03
  • 2021-05-10
  • 2022-12-23
相关资源
相似解决方案