MySQL 9.1.0
Source Code Documentation
COM_PING

Check if the server is alive

Payload
TypeNameDescription
int<1> command 0x0E: COM_PING
Returns
OK_Packet
See also
mysql_ping, dispatch_command