添加复制执行表时,我在启动从服务器时遇到问题。当前有效的配置:
server-id=2
master-host=10.100.27.99
master-user=slejv
master-password=<pass>
master-connect-retry=60
replicate-do-db=piksearch
不起作用的配置:
server-id=2
master-host=10.100.27.99
master-user=slejv
master-password=<pass>
master-connect-retry=60
replicate-do-db=piksearch
replicate-do-table=artikli
replicate-do-table=artikli_polja
replicate-do-table=artikli_posjete8
replicate-do-table=artikli_view
replicate-do-table=kategorije
replicate-do-table=online
replicate-do-table=pitanje_artikal
replicate-do-table=polja
最佳答案
看到这个 link :replicate-do-db
与 replicate-do-table
对比
你必须删除:
replicate-do-db=piksearch
replicate-do-table=artikli
replicate-do-table=artikli_polja
replicate-do-table=artikli_posjete8
replicate-do-table=artikli_view
replicate-do-table=kategorije
replicate-do-table=online
replicate-do-table=pitanje_artikal
replicate-do-table=polja
和写:
replicate-do-table=piksearch.artikli
replicate-do-table=piksearch.artikli_polja
...
关于mysql - 复制做表无法启动从属 mysql,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8657052/