Login   Register  
PHP Classes

MySQL Server Status: Retrieve and format MySQL server status values

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-07-16 (10 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,379 All time: 2,629 This week: 1,500Up
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
Age: ???
All time rank: 860110 in United States United States
Week rank: 1763 Down202 in United States United States Down

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,379All time:2,629
 This week:0This week:1,500Up
 User Comments (1)  
Nice class, save me some time!!!
6 years ago (Daniel Carlos Silva)