DAC for MySQL

TMySQLDatabase.Methods.GetServerStat

Previous Next

Returns MySQLadmin status info.

Syntax:

function GetServerStat: String;

Description:

Returns a character string containing information similar to that provided by the MySQLadmin status command. This string includes uptime in seconds and the numbers of:

  • Running threads;
  • Questions;
  • Reloads;
  • Open tables.