Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-2007, 02:47 PM
Christoph Burschka
 
Posts: n/a
Default Treat results of SHOW STATUS as table

Commands like this won't work, apparently:

INSERT INTO connections SHOW STATUS LIKE 'Threads_connected';

Is there a way to put the result of a status query into a table within
MySQL, or am I going to have to select and insert it in two separate
queries using PHP or a shell script?

--
cb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-11-2007, 06:46 PM
lark
 
Posts: n/a
Default Re: Treat results of SHOW STATUS as table

== Quote from Christoph Burschka (christoph.burschka@rwth-aachen.de)'s article
> Commands like this won't work, apparently:
> INSERT INTO connections SHOW STATUS LIKE 'Threads_connected';
> Is there a way to put the result of a status query into a table within
> MySQL, or am I going to have to select and insert it in two separate
> queries using PHP or a shell script?


it appears you're gonna have to use two queries and php. didn't work for me
either. strange!
--
POST BY: lark with PHP News Reader
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:00 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.