运行命令show global status like 'Connections';查看尝试连接mysql服务器的次数(包含成功和失败的尝试)。 例如:
show global status like 'Connections';