PostgreSQL - GetServerList and GetDatabaseNames
Posted: Mon 09 May 2011 17:39
Hi,
the GetServerList procedure, of TUniConnectDialog does not list PostgreSQL Linux servers, only Windows servers.
Why?
If I try execute GetDatabaseNames of TUniConnection with users other than "postgres" the following error occurs:
---------------------------
Project1
---------------------------
Cannot connect to database
---------------------------
OK
---------------------------
UniConnection.ProviderName := 'PostgreSQL';
UniConnection.Server := 'ServerName';
UniConnection.Username := 'test_user';
UniConnection.Password := '123456';
UniConnection.GetDatabaseNames(ListDataBase);
How can I fix this problem?
Thanks!
the GetServerList procedure, of TUniConnectDialog does not list PostgreSQL Linux servers, only Windows servers.
Why?
If I try execute GetDatabaseNames of TUniConnection with users other than "postgres" the following error occurs:
---------------------------
Project1
---------------------------
Cannot connect to database
---------------------------
OK
---------------------------
UniConnection.ProviderName := 'PostgreSQL';
UniConnection.Server := 'ServerName';
UniConnection.Username := 'test_user';
UniConnection.Password := '123456';
UniConnection.GetDatabaseNames(ListDataBase);
How can I fix this problem?
Thanks!