views:

47

answers:

2

I'm trying to 'see' the SQL statements that are sent from MS Access 2003 to MySQL via ODBC.

I've tried ODBC Tracing, but it's painfully slow, producing very large log files which are very difficult to read.

For example, and insert looked like this:

"INSERT INTO  `tracking`  (`contract_id`,`bp_id`,`csi_1`,`csi_2a`,`csi_2b`,`csi_code`,`item_number`,`csi_code_display`,`csi_name`) 
VALUES (?,?,?,?,?,?,?,?,?)\ 0"

It doesn't show the values, I think they are coded separately as SQLBindParameters, but I can't make out the values in those either.

Is there an alternate/better method that I can use to simply see the full SQL statements?

MTIA

A: 

MySQL Proxy should do what you're after.

scribble
Thank you.... but there wouldn't be a Windows based GUI tool like this, would there?
maxhugen
A: 

Who's MySQL driver are you using?

Wez Dance
I'm using mysql-connector-odbc-5.1.5.
maxhugen