Firebird 3.0.7 Embedded with Delphi & Firedac
Unlike Firebird 2.5, Firebird 3 does not need a different DB connection library.
In Windows, until today to distribute embedded Firebird fbembedd.dll was used instead of fbclient.dll, now with Firebird 3.0 fbclient.dll is always used both for the connection to a Firebird server and for the management of embedded / local DBs.
In firebird the Embedded connection is managed by the engine12.dll library, check that it is present in the system in the directory <firebirdlibrari> \ plugins \ engine12.dll
Check in firebird.conf that engine12 communication is enabled in “protocols”
Configure Firedac physical driver, simply by specifying the location of the connection library:
FDPhysFBDriverLink1.vendorHome := '';
appPath + TPath.DirectorySeparatorChar + 'bin\fbclient.dll';
Connection parameters to FiredacConnection (obviously assign the newly configured FDPhysFBDriverLink):
FDConn.DriverName := 'FBEmbedded';
FDConn.LoginPrompt := False;
FDConn.Params.add('User_Name=' + DataBaseConnectionParam.userName);
Firebird guide: https://www.firebirdsql.org/en/documentation/