1.Grafana添加Mysql
错误提示:Network Error: Bad Gateway(502)
解决方法:
在mysql主机上使用iptables做转发
[root@mysql-s ~]# vim /etc/sysctl.conf
[root@mysql-s ~]# sysctl -p
net.ipv4.conf.all.forwarding = 1
[root@mysql-s ~]#
1.Grafana添加Mysql
错误提示:Network Error: Bad Gateway(502)
解决方法:
在mysql主机上使用iptables做转发
[root@mysql-s ~]# vim /etc/sysctl.conf
[root@mysql-s ~]# sysctl -p
net.ipv4.conf.all.forwarding = 1
[root@mysql-s ~]#