FireDAC.Phys.MySQL.TFDPhysMySQLDriverLink

From Appmethod Libraries
Jump to: navigation, search

FireDAC.Phys.TFDPhysDriverLinkFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDPhysMySQLDriverLink

Object Pascal

TFDPhysMySQLDriverLink = class(TFDPhysDriverLink)

C++

class PASCALIMPLEMENTATION TFDPhysMySQLDriverLink : public Firedac::Phys::TFDPhysDriverLink

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.MySQL.pas
FireDAC.Phys.MySQL.hpp
FireDAC.Phys.MySQL FireDAC.Phys.MySQL

Description

Use the TFDPhysMySQLDriverLink component to link the MySQL Server driver to an application and to set it up.

Use the TFDPhysMySQLDriverLink component to link the MySQL Server driver to an application. In general, it is enough to include the FireDAC.Phys.MySQL unit in your application uses clause.

The TFDPhysMySQLDriverLink component can be used to specify:

  • The VendorHome - the MySQL installation root folder.
  • The VendorLib - the name and the optional path to the MySQL client library.

All properties have default values appropriate for most cases. To produce an effect, you must either perform all property changes before the first connection through this driver or use the Release method.

Example

FDPhysMySQLDriverLink1.VendorLib := 'E:\mysql\5-0-27\bin\libmySQL.dll';

See Also