[root@ip-xxxx3 ~]# zabbix_get -s xxxxxx -p10050 -k mysql.status[Uptime];
Warning: Using a password on the command line interface can be insecure.
/opt/mysql_5.6.37/bin/mysqladmin: connect to server at '-hlocalhost' failed
error: 'Unknown MySQL server host '-hlocalhost' (2)'
Check that mysqld is running on -hlocalhost and that the port is 3316.
You can check this by doing 'telnet -hlocalhost 3316'
请问下我再服务端做测试时候报错,但是实际上我的端口是没有问题的
![240](https://cdn2.jianshu.io/assets/default_avatar/9-cceda3cf5072bcdd77e8ca4f21c40998.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)