Lazarus DB Faq
This FAQ covers database programming with Lazarus.
Where can I find more FAQ?
Where can I find database components?
At the moment the SQLdb components are part of FPC and Lazarus. They are installed by default in all more or less recent Lazarus versions. Manual installation: if you look in the [$LazarusDir]/components you will see a subdirectory SQLdb. Install the sqldblaz.lpk and you will be able to connect to MySQL, Interbase / Firebird, Postgres, MS SQL and Sybase ASE (if you have FPC 2.6.1+), Oracle servers. See Install Packages for help on installing packages.
Are there other components?
- See Lazarus_Database_Tutorial for a list of what databases work with what components.
IB / FB
- Please see Firebird_in_action
- Please see mysql
- Please see postgresql
- Please see sqlite