add a few dsn examples for pdo_firebird

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331423 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Popa Adrian Marius 2013-09-17 16:04:35 +00:00
parent 385d9fd8bc
commit 3302448905

View file

@ -69,12 +69,34 @@
&reftitle.examples;
<para>
<example>
<title>PDO_FIREBIRD DSN examples</title>
<title>PDO_FIREBIRD DSN example with path</title>
<para>
The following example shows a PDO_FIREBIRD DSN for connecting to
Firebird databases:
<programlisting><![CDATA[
firebird:dbname=DATABASE.GDE
firebird:dbname=/path/to/DATABASE.FDB
]]>
</programlisting>
</para>
</example>
<example>
<title>PDO_FIREBIRD DSN example with port and path</title>
<para>
The following example shows a PDO_FIREBIRD DSN for connecting to
a Firebird database using hostname port and path:
<programlisting><![CDATA[
firebird:dbname=hostname/port:/path/to/DATABASE.FDB
]]>
</programlisting>
</para>
</example>
<example>
<title>PDO_FIREBIRD DSN example with localhost and path to employee.fdb on Debian system</title>
<para>
The following example shows a PDO_FIREBIRD DSN for connecting to
a Firebird database employee.fdb using localhost:
<programlisting><![CDATA[
firebird:dbname=localhost:/var/lib/firebird/2.5/data/employee.fdb
]]>
</programlisting>
</para>