SQL Monitor question

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
patyi
Posts: 14
Joined: Wed 01 Feb 2006 20:55

SQL Monitor question

Post by patyi » Wed 19 Dec 2007 22:06

Hi !

I try to make SQL log file in native SQL format of inserts, updates and
deletions.

Howe can I catch SQL statment just in format as is send to server ?

SQLMonitor is not the right solution widout +programming ... :lol:

Thanks.

eduardosic
Posts: 387
Joined: Fri 18 Nov 2005 00:26
Location: Brazil

Re: SQL Monitor question

Post by eduardosic » Thu 20 Dec 2007 01:08

patyi wrote:Hi !

I try to make SQL log file in native SQL format of inserts, updates and
deletions.

Howe can I catch SQL statment just in format as is send to server ?

SQLMonitor is not the right solution widout +programming ... :lol:

Thanks.
Try to set

MySQLMonitor1.TraceFlags := [tfMisc];

and catch in Event onSQL;

patyi
Posts: 14
Joined: Wed 01 Feb 2006 20:55

Post by patyi » Thu 20 Dec 2007 13:59

I'm catch it !

Thanks a lot ! :D

Post Reply