PostgreSQL Connect Error
Posted: Mon 26 Sep 2011 20:30
Hi,
when trying to connect with an encrypted password the following error occurs:
|----------------------------------------------------------------------------------------------------|
|Error: Cannot connect to database
|----------------------------------------------------------------------------------------------------|
|Call Stack Information:
|----------------------------------------------------------------------------------------------------|
|Address |Module |Unit |Class |Procedure/Method |Line|
|----------------------------------------------------------------------------------------------------|
|008C34F4|vcl70.bpl |Forms.pas |TScreen |SetCursor | |
|0B8B1E97|dacvcl70.bpl |DacVcl | |SetCursor | |
|40006E20|rtl70.bpl |System.pas | |_LStrClr | |
|400065B4|rtl70.bpl |System.pas | |_RaiseExcept | |
|40003410|rtl70.bpl |System.pas | |_GetMem | |
|771E25C9|ntdll.dll | | |RtlReleaseSRWLockShared | |
|0D02AE3C|pgprovider70.bpl|Pgclassesuni.pas |TPgSQLConnection |ProcessInternalException| |
|40006E20|rtl70.bpl |System.pas | |_LStrClr | |
|400065B4|rtl70.bpl |System.pas | |_RaiseExcept | |
|0D017664|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |RaiseError | |
|0D0176E4|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |Authenticate | |
|0D015A08|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |Connect | |
|0B824DE8|dac70.bpl |Dbaccess.pas |TCustomDAConnection|DoConnect | |
|----------------------------------------------------------------------------------------------------|
Ex:
UniConnection.ProviderName := 'PostgreSQL';
UniConnection.UserName := 'admin';
UniConnection.PassWord := 'ÿúïúª©';
UniConnection.Server := 'TEST_SERVER';
UniConnection.DataBase := 'TEST_DEVART';
If the SpecificOptions "UseUnicode" is active I can connect, but I can not use this feature because errors occur with some characters that use.
I can contect by PgAdmin using the encrypted password!
How can I fix this problem?
Thanks!
when trying to connect with an encrypted password the following error occurs:
|----------------------------------------------------------------------------------------------------|
|Error: Cannot connect to database
|----------------------------------------------------------------------------------------------------|
|Call Stack Information:
|----------------------------------------------------------------------------------------------------|
|Address |Module |Unit |Class |Procedure/Method |Line|
|----------------------------------------------------------------------------------------------------|
|008C34F4|vcl70.bpl |Forms.pas |TScreen |SetCursor | |
|0B8B1E97|dacvcl70.bpl |DacVcl | |SetCursor | |
|40006E20|rtl70.bpl |System.pas | |_LStrClr | |
|400065B4|rtl70.bpl |System.pas | |_RaiseExcept | |
|40003410|rtl70.bpl |System.pas | |_GetMem | |
|771E25C9|ntdll.dll | | |RtlReleaseSRWLockShared | |
|0D02AE3C|pgprovider70.bpl|Pgclassesuni.pas |TPgSQLConnection |ProcessInternalException| |
|40006E20|rtl70.bpl |System.pas | |_LStrClr | |
|400065B4|rtl70.bpl |System.pas | |_RaiseExcept | |
|0D017664|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |RaiseError | |
|0D0176E4|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |Authenticate | |
|0D015A08|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |Connect | |
|0B824DE8|dac70.bpl |Dbaccess.pas |TCustomDAConnection|DoConnect | |
|----------------------------------------------------------------------------------------------------|
Ex:
UniConnection.ProviderName := 'PostgreSQL';
UniConnection.UserName := 'admin';
UniConnection.PassWord := 'ÿúïúª©';
UniConnection.Server := 'TEST_SERVER';
UniConnection.DataBase := 'TEST_DEVART';
If the SpecificOptions "UseUnicode" is active I can connect, but I can not use this feature because errors occur with some characters that use.
I can contect by PgAdmin using the encrypted password!
How can I fix this problem?
Thanks!