If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Listening on MySQL Server Port

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-25-04, 04:19
shob_ash shob_ash is offline
Registered User
 
Join Date: Aug 2004
Posts: 3
Question Listening on MySQL Server Port

Is there a way I can connect to the MySQL server port on a local/remote machine using MySQL++ (C++ API for MySQL), and tap in on user login info, the queries posted by them, the time taken for their execution, etc., logged in as the DBA? Or is it only possible by running relevant scripts on the server side?
Reply With Quote
  #2 (permalink)  
Old 08-26-04, 11:02
trieder trieder is offline
Registered User
 
Join Date: Sep 2003
Posts: 69
Sounds feasible to me. MySQL has plenty of commands you can issue to find out about slow queries, current users, memory usage etc. Learn these commands from the manual and then connect to your target machine and use the API to issue the commands necessary to retrieve the info you want. RTM
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

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