[fpc-pascal] SqlDB and MySQL connection string?

Joost van der Sluis joost at cnoc.nl
Mon Jan 26 11:11:37 CET 2009

Op maandag 26-01-2009 om 10:54 uur [tijdzone +0200], schreef Graeme
> Hi,
> When connecting to a Firebird database the connection string is as follows:
>    "<server>:<database location>"
> Is the same format used for MySQL databases?

You could, but I woudn't do it.

> What about any other databases that SqlDB supports?

They are all the same, you should change it for Firebird also. 

Hostname := server;
database := database location;

That's the same for all databases. ;)


More information about the fpc-pascal mailing list