Subject | Re: [IBO] Connection with tcp_ip protocol |
---|---|
Author | Helen Borrie |
Post date | 2007-03-22T20:44:30Z |
At 05:54 AM 23/03/2007, you wrote:
2. If not, does it change anything if you use
127.0.0.1 in the Server property, instead of localhost?
Helen
>Hello,1. Are you using the embedded server?
>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 ?
2. If not, does it change anything if you use
127.0.0.1 in the Server property, instead of localhost?
Helen