如何打印MySQL中止的连接数 [英] How to print number of MySQL aborted connects

查看:55
本文介绍了如何打印MySQL中止的连接数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C/C ++控制台应用程序,该应用程序连接到MySQL服务器并使用MySQL全局变量提供的信息来打印已中止的连接数.

我知道如何用C ++创建控制台应用程序,但是我对中断连接一无所知.给我建议一下.

另请参见 C ++和MySQL中止了连接 [ ^ ]

C/C++ console application that connects to a MySQL server and prints the number of aborted connects using information provided by MySQL''s global variables.

I know how to create the console application in C++ but I don''t have any idea about aborted connects. Suggest me something.

See also C++ and MySQL aborted connects[^]

推荐答案

请提出一个具体的问题,而不是复制/粘贴您的家庭作业问题.
自己先尝试,如果遇到困难,请提出一个特定的问题.
Please ask a specific question instead of copy/pasting your homework question.
Try first by yourself, and if you are stuck, come back with a specific question.


#编写一个连接到MySQL服务器的C/C ++控制台应用程序并使用MySQL全局变量提供的信息打印中止的连接数.
# Write a C/C++ console application that connects to a MySQL server and prints the number of aborted connects using information provided by MySQL''s global variables.


这篇关于如何打印MySQL中止的连接数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆