Hot to start MySQLMonitor in a compiled programm?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
shsit
Posts: 21
Joined: Thu 05 Oct 2006 11:41

Hot to start MySQLMonitor in a compiled programm?

Post by shsit » Fri 20 Jun 2008 12:56

Hi,

is there a way to start the MySQLMonitor in a compiled programm?
I want to give a customer the option to trace the SQL statements while using the programm.
Thx,
greets ben

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 23 Jun 2008 12:10

In order to use MySQLMonitor in the program you should put the TMySQLMonitor component on a form or create this object in run-time. After that you should process the OnSQL event or use DBMonitor to trace SQL usage.

Post Reply