Difference between revisions of "TSQLConnector"
From Lazarus wiki
Jump to navigationJump to search(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{TSQLConnector}} | ||
{{Infobox databases}} | {{Infobox databases}} | ||
'''TSQLConnector''' [[image:tsqlconnector.png]] is a versatile database connector component for use with any supported database. The component is found on [[SQLdb tab]] of the [[Component Palette]]. | '''TSQLConnector''' [[image:tsqlconnector.png]] is a versatile database connector component for use with any supported database. The component is found on [[SQLdb tab]] of the [[Component Palette]]. | ||
To configure database access, most important properties are: | To configure database access, most important properties are: | ||
− | * ConnectorType: | + | * ConnectorType: |
− | ::<tt>[[ | + | ::{| |
− | + | |- | |
− | + | | [[TIBConnection]] || <tt>Firebird</tt> | |
− | + | |- | |
− | + | | [[TMSSQLConnection]] || <tt>MSSQLServer</tt> | |
− | + | |- | |
− | + | | [[TMySQL40Connection]] || <tt>MySQL 4.0</tt> | |
− | + | |- | |
+ | | [[TMySQL41Connection]] || <tt>MySQL 4.1</tt> | ||
+ | |- | ||
+ | | [[TMySQL50Connection]] || <tt>MySQL 5.0</tt> | ||
+ | |- | ||
+ | | [[TMySQL51Connection]] || <tt>MySQL 5.1</tt> | ||
+ | |- | ||
+ | | [[TMySQL55Connection]] || <tt>MySQL 5.5</tt> | ||
+ | |- | ||
+ | | [[TMySQL56Connection]] || <tt>MySQL 5.6</tt> | ||
+ | |- | ||
+ | | [[TMySQL57Connection]] || <tt>MySQL 5.7</tt> | ||
+ | |- | ||
+ | | [[TODBCConnection]] || <tt>ODBC</tt> | ||
+ | |- | ||
+ | | [[TOracleConnection]] || <tt>Oracle</tt> | ||
+ | |- | ||
+ | | [[TPQConnection]] || <tt>Postgres</tt> | ||
+ | |- | ||
+ | | [[TSQLite3Connection]] || <tt>SQLite3</tt> | ||
+ | |- | ||
+ | | [[TSybaseConnection]] || <tt>Sybase</tt> | ||
+ | |} | ||
* DatabaseName | * DatabaseName | ||
* Hostname | * Hostname | ||
Line 25: | Line 48: | ||
{{LCL Components}} | {{LCL Components}} | ||
− |
Revision as of 20:33, 22 July 2021
│
English (en) │
français (fr) │
polski (pl) │
русский (ru) │
References:
Tutorials/practical articles:
Databases |
TSQLConnector is a versatile database connector component for use with any supported database. The component is found on SQLdb tab of the Component Palette.
To configure database access, most important properties are:
- ConnectorType:
TIBConnection Firebird TMSSQLConnection MSSQLServer TMySQL40Connection MySQL 4.0 TMySQL41Connection MySQL 4.1 TMySQL50Connection MySQL 5.0 TMySQL51Connection MySQL 5.1 TMySQL55Connection MySQL 5.5 TMySQL56Connection MySQL 5.6 TMySQL57Connection MySQL 5.7 TODBCConnection ODBC TOracleConnection Oracle TPQConnection Postgres TSQLite3Connection SQLite3 TSybaseConnection Sybase
- DatabaseName
- Hostname
- Password
- Transaction
For any connector to function, it should be able to load the right drivers.
.dll style drivers are found if they are located in the same directory as the corresponding .exe
See also