3.4. Connection parameters
The Params
property of the TFDConnection
component contains the database connection parameters (username, password, connection character set, etc.). If you invoke the TFDConnection
property editor by double-clicking on the component, you will see that those properties have been filled automatically. The property set depends on the database type.
Figure 2. TFDConnection property editor
Property | Purpose |
---|---|
| Whether a connection pool is used |
| The path to the database or its alias as defined in the |
| Firebird user name. Not used if |
| Firebird password. Not used if |
| Whether operating system authentication is used |
| Connection protocol. Possible values:
|
| Server name or its IP address. If the server is run on a non-standard port, you also need to append the port number after a slash, e.g., |
| SQL Dialect. It must match that of the database |
| Role name, if required |
| Connection character set name |
Additional Properties: | |
| Used to manage the database connection or check the connection status. This property must be set to True in order for the wizards of other FireDac components to work. If your application needs to request authentication data, it is important to remember to reset this property to False before compiling your application. |
| Whether to request the username and password during a connection attempt |
| The |
| The |