Subject Re: [firebird-support] Can't Connect to Database
Author Nigel Weeks
Sounds like you're using a direct connection to the database file, instead of
connecting to the firebird service listening on port 3050(usually)

Check the connection string. In PHP it looks like:


$conn = ibase_connect("c:/database.fdb","username","password");
This is a direct connect, and can only handle one connection from one
application process.

However,

$conn = ibase_connect("server:c:/database.fdb","username","password");

This is connecting to the database server listening on the default port of 3050,
and can handle as many connections as your server / CPU / RAM will allow.


Nige.



> Good day,
>
> Help Me...
> I have system A with database A (firebird database)
>
>
> I will to evolving my system with Visual basic (system B). because
> System A source code is missing.
>
> if system a is running i can't run system B, because system acces the
> same database A. allways show mesage can't open database in use.
>
> so, how to open database ?
>
> thanks.
>
>
>
>
>


--
Nigel Weeks

Prism9 Technology
e: nweeks@...
m: 0408 133 738
w:http://prism9.com

fb:http://facebook.com/profile.php?id=604592926