Which DB to use and which DB-components for connection & usage (web based DB) lazarus / 16-Databases ---------------------------------------------------------------------- finalist · 2022-03-11 19:56 Because of my hosting supports MySQL databases and PostgreSQL databases, I need advices about : 1. to use MySQL database or to use PostgreSQL database ? 2. which DB-components available on LCL  for connection & SELECT, INSERT, UPDATE ... ? ---------------------------------------------------------------------- MarkMLl · 2022-03-11 21:19 I've used PostgreSQL for the last 20+ years with Delphi and latterly Lazarus, and found the internal components adequate. MarkMLl ---------------------------------------------------------------------- finalist · 2022-03-11 22:36 I may be will use MySQL, because I have already a MySQL database created on my Hosting. Do you think it is a good idea to use components : TMySQL57Connection because the hosting MySQL server version is 5.7.37 TSQLTransaction TSQLQuery TSQLScript TDataSource -  - TDBGrid  - TDBEdit  - ........? Thanks! ( If I am totally wrong anybody could inform me about ) ---------------------------------------------------------------------- Zvoni · 2022-03-14 07:52 I'd probably rather go with TSQLConnector, and then just include TMySQL57Connection, TMySQL80Connection and TPQConnection in the Uses- clause. That way you could prepare yourself for any of those DBMS SQL-Dialect has to be provided for each ---------------------------------------------------------------------- finalist · 2022-03-14 12:39 MySQL57Connection, MySQL80Connection, TPQConnection at design-time rise Error:   Can not load default MySQL library ("libmysql.dll" or "libmysql.dll"). Check your installation. ---------------------------------------------------------------------- Zvoni · 2022-03-14 12:56 Well, if you want to connect from your local machine to somewhere else, the MySQL-Client-Library must be installed on your local (dev-) machine ---------------------------------------------------------------------- marcov · 2022-03-14 15:32 Does your hosting actually allow external access to the database or is it a webhosting only database ? (sometimes you can still get access via a SSH tunnel) ---------------------------------------------------------------------- finalist · 2022-03-14 15:40 My hosting does allow external access to the database.