Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - PHP MySQL STATUS query | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
SyntaxLegend Double metal axe Level: 25 Posts: 189/222 EXP: 78264 For next: 11356 Since: 04-21-04 From: Australia Since last post: 20 days Last activity: 10 hours |
| ||
how does the status query work, ive looked and looked but to no avail. Can someone post an example of how the show status query works to count how many total queries have been done in the script | |||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 599/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
I have been looking for this for a while too. It seems that they are custom scripts I seen a few on google. Acmlm made one himself as well... | |||
King_Killa Koopa Level: 15 Posts: 17/117 EXP: 15096 For next: 1288 Since: 06-13-05 From: Shangri-La Since last post: 37 days Last activity: 18 days |
| ||
is this what you are looking for? <? $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); $status = explode(' ', mysql_stat($link)); print_r($status); ?> that will display the status of mysql. (edited by King_Killa on 06-15-05 03:56 PM) (edited by King_Killa on 06-15-05 03:56 PM) |
|||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 636/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
No its more of a... MySQL - queries: 14, rows: 11/13, time: 0.273 seconds. (edited by Randy53215 on 06-15-05 04:58 PM) |
|||
King_Killa Koopa Level: 15 Posts: 18/117 EXP: 15096 For next: 1288 Since: 06-13-05 From: Shangri-La Since last post: 37 days Last activity: 18 days |
| ||
oh, just stats from a single script... |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - PHP MySQL STATUS query | | | |