[fdo-dev] ConnectionString property

Mateusz Loskot mateusz at loskot.net
Fri Dec 15 19:33:58 EST 2006


Mateusz Loskot wrote:
> I'm testing the PostGIS provider with both approaches and the latter
> works, but the former doesn't for me. What's interesting, MySQL
> provider also doesn't work with the ConnectionString property.
> 
> Here is my full string I use to connect to a particular database:
> 
> ConnectionString=fdo_test at localhost;username=mloskot;password=pantera;
> 
One additional note.
Currently, I use simple hack to pass database name together with
hostname but without using ConnectionString property:

service=fdo_test at localhost;username=mloskot;password=pantera;

This way

a) the FdoRdbmsConnection::Open() doesn't refuse the parameters set as
including invalid property.

b) value of service= parameter is passed to rdbi_connect as DataSource
instead of as ConnectionString, but it doesn't matter, because I still
can decode the value and retrieve all components I need.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the Fdo_dev mailing list