Subject Re: [firebird-php] connecting to a db ...
Author Jochem Maas
Antonio Galicia wrote:
> On 4/5/06, Jochem Maas <jochem@...> wrote:
>
>
>>>>I can connect to a database (I'm only allowing connection to
>
> defined aliases) using
>
>>>>the isql cmdline tool but connection from php gives me the following:
>
>
>>> # su - www-data
>>> $ isql-fb database_alias
>>
>>works
>>
>>
>>> $ isql-fb localhost:database_alias
>>
>>doesn't work (for either root or www-data users).
>
>
> Humm?
>
> Then, never get connection to "localhost". Rigth? That make a
> diference. Is the server up and ready?

yes.

>
> $ netstat -a -n | grep LISTEN
> $ telnet localhost gds_db
>

I was able to connect to port 3050 with telnet.

> Is a clasic or a super server?

classic.

>
> --
> Saludos,
> Toño
> ----
> http://agc.com.mx/antoniogc/blog
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>