嗨, 大家好: 网站在新年后正式开通,欢迎大家加入我们,共同维护一个良好氛围的中国技术社区。 欢迎举报不良帖子,欢迎提供建议。
我们的QQ群:136102234,欢迎进群找答案,里边会有很多资深的大师们。 point overflow

遇到从库日志有这么一个问题:

[Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=liytest-relay-bin' to avoid this problem.

asked 2016-10-17 16:26:12

jkant's gravatar image

jkant ♦♦
11135138139
accept rate: 3%


本来觉得意思是:两个relay_log都没用到,所以如果改变了主机名就会出问题。

其实意思说:relay_log是按照主机名字命名的,改了名字后就会报错。

link

answered 2016-10-17 16:32:06

jkant's gravatar image

jkant ♦♦
11135138139
accept rate: 3%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×72
×1

Asked: 2016-10-17 16:26:12

Seen: 3,081 times

Last updated: 2016-10-17 16:32:06