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 > "MS SQL Profiler like" for MySQL ??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-06, 04:09
AndrejS AndrejS is offline
Registered User
 
Join Date: Sep 2005
Posts: 12
Question "MS SQL Profiler like" for MySQL ??

Hi,

i'm experiencing some strange behavior with updateing data using myDac and Delphi7. I'm using MyCommand with a simple SQL statement like
update table set phone = NNNNN where id = IIIIII
and most of the time it works fine, but then suddenly updates phone with a "near miss", like NNNNN+2 for example. Is there a way to find out what exatcly (sql statement) went to the server (something like Profiler for MS SQL) other than setting trace on startup (which according to the manual is meant mainly for debugging server crashes)? I have no triggers set on the table nor on the phone column. Any help would be much appreciated.

Andrej
Reply With Quote
  #2 (permalink)  
Old 06-16-06, 04:59
AndrejS AndrejS is offline
Registered User
 
Join Date: Sep 2005
Posts: 12
Problem solved

Problem was caused by updateing float field with integer value (), i'll just have to convert it into integer, but the question about "profiler like" tool is still open.
Reply With Quote
  #3 (permalink)  
Old 06-18-06, 05:59
braindancer braindancer is offline
Registered User
 
Join Date: Mar 2005
Location: Kiev, Ukraine
Posts: 5
mytop is a linux tool that shows you what your MySQL server is currently doing. Not exactly profiler-like (and I'm not 100% sure you can log its output), but better than nothing.
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