Docker pull mysql configuration master from replication, reading and writing separation, others will be in my. CNF plus the log - bin = mysql - bin
However, I do not use the image created by dockerfile, my configuration file vim cannot be opened, error bash: vi: command not found. How is the master set up here, what else does it mean besides being the master, by default?
docker拉的mysql配置主从复制,读写分离,别人会在my。cnf加上log-bin=mysql-bin
可是我不是用dockerfile创建的镜像,我的配置文件vim打不开,报错bash: vi: command not found,下面不知道该怎么操作,,,,,有人能告诉我show master status;这里的master是怎么设置的,除了是主服务器外还有什么意思,默认的吗