Subject | Connection with tcp_ip protocol |
---|---|
Author | hypmarie23 |
Post date | 2007-03-22T18:54:36Z |
Hello,
I want to change the connection of my DB and use the TCP_IP protocol
instead of local.
But I get the following message : ISC 335544344 I/O ERROR for
file "cocagnePROD". Error while trying to open file. Le fichier
spécifié est introuvable.
Here is the code :
With DM_Cocagne do
begin
with IB_Connection1 do
begin
Connected := False;
Server := 'localhost';
Path := 'cocagnePROD';
Protocol := cpTCP_IP;
Username := 'SYSDBA';
Password := 'masterkey';
LoginPrompt := false;
DefaultTransaction := IB_Transaction1;
Connected := true;
end;
end;
I use firebird 1.5 and IBO.4.6. cocagnePROD is an alias from
ALIASES.CONF.
If I try to connect myself to this database with the ISQL tool with
the following syntax : connect localhost:cocagnePROD user 'SYSDBA'
password 'masterkey'; I have the same error message.
And yet my alias was correctly detected with a local protocol.
Here is the path in ALIASES.CONF :
cocagnePROD = C:\DataCocagne\BDCOCAGNE_GPROD.FDB
Does some one has a solution ?
Marie-Noëlle
I want to change the connection of my DB and use the TCP_IP protocol
instead of local.
But I get the following message : ISC 335544344 I/O ERROR for
file "cocagnePROD". Error while trying to open file. Le fichier
spécifié est introuvable.
Here is the code :
With DM_Cocagne do
begin
with IB_Connection1 do
begin
Connected := False;
Server := 'localhost';
Path := 'cocagnePROD';
Protocol := cpTCP_IP;
Username := 'SYSDBA';
Password := 'masterkey';
LoginPrompt := false;
DefaultTransaction := IB_Transaction1;
Connected := true;
end;
end;
I use firebird 1.5 and IBO.4.6. cocagnePROD is an alias from
ALIASES.CONF.
If I try to connect myself to this database with the ISQL tool with
the following syntax : connect localhost:cocagnePROD user 'SYSDBA'
password 'masterkey'; I have the same error message.
And yet my alias was correctly detected with a local protocol.
Here is the path in ALIASES.CONF :
cocagnePROD = C:\DataCocagne\BDCOCAGNE_GPROD.FDB
Does some one has a solution ?
Marie-Noëlle