
January 27th, 2005, 07:27 AM
|
|
Registered User
|
|
Join Date: Jan 2005
Location: Czech Republic
Posts: 4
Time spent in forums: 41 m 16 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by jim_racster Newbie question
I have Firebird 1.5 installed on w2k and I can connect to it with isql, IBOconsole, and in Excel via a DNLess connection in VBA-ADO, but when I try to connect in PHP 5 I get a cannot find localhost error.
connect localhost:c:\data\popeyes.fdb USER SYSDBA PASSWORD masterkey;
I tried using IP, leaving localhost off ( that yields cann't open database), ADOdb to no avail. Connection to mySQL and sqlLite works fine.
What am I doing wrong?
TIA, jim_racster |
example:
$db = ibase_connect('127.0.0.1  :\\IB_DATA_ENV\\xx.gdb', "username", "password", "codePage");
!!!! \\ is important !!!!!
|