Documentation Home

10.2.10 MySQLConnection.cmd_ping()方法

检查与服务器的连接是否有效。

此方法不能直接使用。请改用 ping() 或 is_connected() 。

返回包含 OK 数据包信息的字典。