DAC for MySQL

TmySQLDatabase.Events.BeforeConnect

Previous Next

Occurs immediately before establishing a connection.

Syntax:

property BeforeConnect: TNotifyEvent;

Description:

Write a BeforeConnect event handler to take application-specific actions before the connection component opens a connection to the source of database information.