Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-01

SqlDB and MySQL connection string?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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/

Reply by email

Joost van der Sluis
to Graeme Geldenhuys

Op maandag 26-01-2009 om 10:54 uur [tijdzone +0200], schreef Graeme Geldenhuys:

Show quoted text 7 lines
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.

Reply by email

Graeme Geldenhuys
to Joost van der Sluis
Joost van der Sluis wrote 7 lines
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/

Reply by email