1.初始化错误:error while loading shared libraries: libaio.so.1
$ rpm -qa|grep libaio
$ yum install libaio-devel.x86_64
复制代码
2.实行 show slave status\G 报如下错误
...
Slave_IO_Running:No
Slave_SQL_Running:Yes
...
Last_IO_Error:Fatal error:The Slave I/O thread stops because master and slave have equal MySQL Server UUIDs;these UUIDs must be different for replication to work.
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
复制代码
解决
$ vim ../elasticsearch-7.6.2/config/elasticsearch.yml