note 62730 added to ref.pdo-firebird
| From: | Darren at osu1 dot php dot net | Date: | Wed, 08 Mar 2006 13:18:36 +0000 |
| Subject: | note 62730 added to ref.pdo-firebird | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105045@lists.php.net to get a copy of this message | ||
After much trial and error i found out you should use the following to connect to a firebird
database:
<?php
$db = new PDO ("firebird:dbname=localhost:C:\\path\\to\\database\\MyDatabase.FDB",
"username", "password");
?>
NOTE: in the 1st part of the connection string there can be NO spaces else you will get NULL.
The string provided on this site does not work and will give no error only NULL.
----
Server IP: 66.163.161.117
Probable Submitter: 165.165.206.202
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.pdo-firebird.php
Edit -- http://master.php.net/note/edit/62730
Del: integrated -- http://master.php.net/note/delete/62730/integrated
Del: useless -- http://master.php.net/note/delete/62730/useless
Del: bad code -- http://master.php.net/note/delete/62730/bad+code
Del: spam -- http://master.php.net/note/delete/62730/spam
Del: non-english -- http://master.php.net/note/delete/62730/non-english
Del: in docs -- http://master.php.net/note/delete/62730/in+docs
Del: other reasons-- http://master.php.net/note/delete/62730
Reject -- http://master.php.net/note/reject/62730
Search -- http://master.php.net/manage/user-notes.php