[fpc-pascal] SqlDB and MySQL connection string?

2009-01-26 Thread Graeme Geldenhuys
Hi,

When connecting to a Firebird database the connection string is as follows:

   server:database location

Is the same format used for MySQL databases?

What about any other databases that SqlDB supports?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] SqlDB and MySQL connection string?

2009-01-26 Thread Joost van der Sluis
Op maandag 26-01-2009 om 10:54 uur [tijdzone +0200], schreef Graeme
Geldenhuys:
 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. ;)

Joost.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] SqlDB and MySQL connection string?

2009-01-26 Thread Graeme Geldenhuys
On Mon, Jan 26, 2009 at 12:11 PM, Joost van der Sluis jo...@cnoc.nl wrote:

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

 Hostname := server;
 database := database location;

 That's the same for all databases. ;)

Ah, ok. We already started doing the above, so will continue with it...


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal