zabbix配置TiDB

tar -xzf tidb-latest-linux-amd64.tar.gz
cd tidb-latest-linux-amd64

以下启动各个应用程序组件实例的时候,请选择后台启动,避免前台失效后程序自动退出。

 ./bin/pd-server --name=pd1 --data-dir=pd1 --client-urls="http://172.25.1.10:2379" --peer-urls="http://172.25.1.10:2380" --initial-cluster="pd1=http://172.25.1.10:2380" --log-file=pd.log &

./bin/tidb-server

 使用 MySQL 客户端连接 TiDB:

这一步如果OK的话基本的数据库配置就成功了,接下来需要往zabbix应用中进行集成

cd /etc/zabbix/web

 

 

猜你喜欢

转载自blog.csdn.net/u010489158/article/details/81676855