PHP Classes

MySQL Server Status: Retrieve and format MySQL server status values

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,384 All time: 2,808 This week: 488Up
Version License PHP version Categories
mysqlserverstatus 1.0Freely Distributable3Databases
Description 

Author

This class retrieves the status of a MySQL server using SHOW STATUS query and returns the values in an array.

Also, it provides functions for formatting these status values for better presentation: Formatbytes (determines TB, GB, MB, or KB and limits output to a number of decimal places that you provide) also TimeSpanFormat (returns the number of days, hours, minutes, and seconds. Adapted from phpMyAdmin with modifications).

Picture of Mac Dude
Name: Mac Dude <contact>
Classes: 2 packages by
Country: United States United States

 

  Files folder image Files (2)  
File Role Description
Plain text file mysql_status.inc Class Class File
Accessible without login Plain text file mysql_status.php Example Example File

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,384
This week:0
All time:2,808
This week:488Up
User Comments (1)
Nice class, save me some time!!!
17 years ago (Daniel Carlos Silva)
67%StarStarStarStar